Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers!
$HTTP_SESSION_VARS["user"] = "jane";
Next page that checks it's valid:
//but the variable is always not set!
I checked the session file but it only has this in it:
I have a .inc file that contains html codes. How do I use the include() to print the codes out onto the page so that others can select it and copy it?
I know there's htmlspecialchars(), but how do I pass the contents of the entrire file into this function?
I tried this and it does...
Thank you for your input
Does anyone know of any site that offers OpenASP downloads? Where can I get it? I can't access its website (activescripting.org) and I also can't find a download for openasp any where else. :( Does anyone know what happened?
What directives do I need to add to my httpd.conf to allow access to a directory outside documentroot?
documentroot is C:\Apache\www
folder is C:\Apache\Secret
I also tried to use this in my .htaccess in \www\:
php_value include_path /secret/
but it also didn't help...
Is there any way to use constants in mysql queries? I tried, but it couldn't work.
$data = mysql_fetch_object(mysql_query("select stuff from main where user=" . NAME));
should I forget about this and just use variables, or is there a way to use...
What if someone is spamming and using an email of your domain as a reply-to email? This can be bad as those that receive the spam can have a bad impression of your site.
What can one do to prevent this or at least reduce possible damage?
I found a problem when dealing with zeros in forms. Post values containing 0 just won't be not empty.
Check this script:
echo "No value<br>";
echo "There's a value! - $HTTP_POST_VARS[choose]<br>";
I don't understand this function( error_reporting()). You're supposed to pass in an int level but how do I know what kind of levels are there?
/* ...in PHP 4, '55' would mean (E_ERROR | E_WARNING | E_PARSE |
E_CORE_ERROR | E_CORE_WARNING) */
is '55' calculated in some way by...
I have a form that allows users to edit their information. When the user saves, the changes are saved into a table and the page refreshes.
Here's the problem:
changes are saved to the mysql table and the page loads with the new information. But when I re-enter the script again by clicking...