Gighalen
-
Posts
193 -
Joined
-
Last visited
Never
Posts posted by Gighalen
-
-
That's my point :[
Does anyone have any idea what could be causing their isp to display the page as a 403 error?
-
I own a small website hosting company, and my schools Auto Tech program purchased a website (www.bhsautotech.com).
The first month they had it, the site worked fine, but now, all http requests from the school campus go straight to 403: Forbidden no matter what (including directories with indexes and file-inclusive URLs). But I CAN login and access the FTP server from the same location.
However, other websites (using the SAME ip address and DNS servers) still display as they should.
-www.arabheritagememorial.com
-www.supermanfalcon.com
-www.ms-stormrage.com
What can be causing this problem?
The county IT guy for all the schools insists the problem is on my end, but how does that explain the other websites on the same IP address and DNS servers still being able to be accessed? I'm thinking that they somehow are blocking HTTP requests to that particular domain name.
I have checked the IP deny manager for www.bhsautotech.com and the list is empty.
Please help
-
It seems to me as though you are replacing the array instead of adding to it.
Can you please post the code that handles this?
-
How can you not be using MySQL?
-
Oh, make sure you add </table> after the end of the WHILE loop
-
1:
if(is_numeric($ulog) && $ulog >= 1 && $ulog <= 10)
2:
Radio buttons can be tricky, can't answer this one off the top of my head.
3:
I don't understand the question. However, for validating all dates/times, just use a timestamp:
time();
4:
if($id != 0)
-
I believe this is something like what you are looking for. I just wrote it for you, so I may have missed something minor, but the concept remains the same.
<?php //Query $q = mysql_query("SELECT * from `show` WHERE display = '1' ORDER BY `id` DESC"); // count = 0 $i = 0; // start our table echo "<table>"; while($data = mysql_fetch_assoc($q)){ // if first column, start the row if($i == 0){ echo "<tr>"; } // echo out the image echo "<td><img src=\"images/\"".$data['image']."\" width="150" height="150"></td>"; // if 4th column, end the row if($i == 3){ echo "</tr>"; } } //increase i by 1 $i++; //if i = 4 (would be a 5th column), reset it to 0 to start a new row if($i == 4){ $i = 0; } } ?>
-
$hello->setArray(); and $hello->getArray(); are variables in and amongst themselves. You can almost think of classes as arrays, only using "->function" as a 'parking place' instead of [0], [1], etc. Try echo $hello->getArray(); (Assuming that this will return data you want to output).
-
I prefer e107
www.e107.org
-
Google is your friend, my friend.
-
Are you saying that instead of an email being sent to a user every time a topic is posted, you want a single email to be sent out, say, every 24 hours with a list of the topics/replied posted??
-
A few months ago, I registered the domain www.officepixels.com with the intentions of starting a $1/pixel advertising site.
I've since then learned that it isn't as easy as it looks.
What should I do with the domain? I was thinking about starting a image hosting site, but IDK.
Any suggestions?
-
evolt.org
highest rated article.
-
if-else? lolz
-
If you edited your table's structure without editing the query used upon signup, the query will not have enough data to complete the query and will fail.
Ex.
If your former structure looked like this:
-id
-user
-pass
-email
and your new one looks like this
-id
-user
-pass
-photo
-email
and your query looks like this: insert into blah (id, user, pass, email), the query will fail because it will try to add values to wrong datatypes and not have enough fields to enter.
I would recommend assigning values to your query, as to where it will only try to insert values into the columns you specify:
INSERT INTO blah (id, user, pass, email) VALUES ('', '$user', '$pass', '$email')
-
Count the number of rows your updating, sort the data into an array, and then run a while function doing the same query only updating the entry in the database based on the values in the array.
Does that make sense?
I'm not the greatest when it comes to explaining stuff.
-
Did you try /usr/bin/curl?
-
<?
$landingpage[1] = 'http://www.website.com/page1.php?value=$id';
?>
or
<?
$landingpage[1] = 'http://www.website.com/page1.php?value='.$id;
?>
-
Are you saying you want to be able to sort search results like google? Either in a row or a column?
-
It can be different with each host...
I think you can also find it by using phpinfo();
Just create a file called info.php and add
<?php
phpinfo();
?>
and scroll around until you find it.
I'm not sure though. I think you can. But don't hate me if I'm wrong
-
In your search query on the display page, your using a SELECT *, so you're getting all the data from the database about that one band - including ID. Just find where it echos out and add the <a href> stuff around the ['bandname'] variable.
Make sure to avoid " by using \"
-
-
SSH into your server, and issue the command:
which curl
-
An autoresponder would be easy. Just add another mail() function after the first, sent from your address to their address, before transferring them to a Thank You page.
Displaying images from database.
in PHP Coding Help
Posted
How is the data being stored? I'm assuming you're using base64 or some other file->string conversion process? It could have to do with how the data is converted back into an image.