PHP Forums - Wallpaperama http://www.wallpaperama.com/forums/php-f9.html support questions and answers about the popular open source free programming language hyptertext programing called php en need some help with using sessions in php Fri, 12 Feb 2010 23:43:45 -0800 What I want to do is pass the same variables to 2-3 pages (webpage 1, webpage 2, webpage 3) I found out the best way is using sessions. This what I know: =============================================================== what code do you in the very first line But do you put it all pages that displaysinfo?(webpage 1,webpage 2,webpage 3) or just the main page that you input your info? Does it have to be an HTM or a php file? ==================================================================== to save info $_SESSION['Total_R <a href="http://www.wallpaperama.com/forums/need-some-help-with-using-sessions-in-php-t6871.html">..... Read More </a> [ This Post Has 1 Comments ] http://www.wallpaperama.com/forums/need-some-help-with-using-sessions-in-php-t6871.html How to store html tags in database Fri, 12 Feb 2010 23:43:45 -0800 Can anyone tell me how i should store HTML in a table so that they format the text when read from the database. Example. I write this text in a form. This is my (i)text(/i). I want text to be italic when read from the database and posted using PHP? Thanks! [ This Post Has 1 Comments ] http://www.wallpaperama.com/forums/how-to-store-html-tags-in-database-t6619.html how to copy file with php script code Fri, 12 Feb 2010 23:43:45 -0800 im writing a php script today and i want to know how to copy a file from one directory to another using php you see, i have all my images in the database and i need to move them to another website but the other site will be using a different directoyr name sow can i copy files from one directory to another with php? [ This Post Has 2 Comments ] http://www.wallpaperama.com/forums/how-to-copy-file-with-php-script-code-t5972.html Freelance outsource your programming and webdesign projects Fri, 12 Feb 2010 23:43:45 -0800 visit us freelance, programming, outsourcing, programmer, outsource, php programming, mysql,mysql database database Freelance.eu , temporarily: post your projects for free and free webmaster and programmer signup! http://www.wallpaperama.com/forums/freelance-outsource-your-programming-and-webdesign-projects-t5929.html How to get line numer in php script Fri, 12 Feb 2010 23:43:45 -0800 for the longest time i wanted to know how i can get the line number in my script. well, i found out how to do it, just use the __LINE__ in php for example 1 &amp;gt; &amp;lt;?php 2 &amp;gt; echo &amp;quot;hi this is on line number &amp;quot;; 3 &amp;gt; echo __LINE__; 4 &amp;gt; ?&amp;gt; the output will be like this: hi this is on line number 3 i hope i helped you in showing or getting the current line number form the php code in a script. i had a hard time finding this, but finally i <a href="http://www.wallpaperama.com/forums/how-to-get-line-numer-in-php-script-t5880.html">..... Read More </a> http://www.wallpaperama.com/forums/how-to-get-line-numer-in-php-script-t5880.html how to create mkdir() in root directory with PHP Fri, 12 Feb 2010 23:43:45 -0800 today i wanted to know how i can use php and use the mkdir() function in php to make a directory in another website, but it turns out that you can't because when you run a script in php it runs it through the apache user and if you have a different user on your web root it wont work [ This Post Has 1 Comments ] http://www.wallpaperama.com/forums/how-to-create-mkdir-in-root-directory-with-php-t5849.html Warning: fread() [function.fread]: Length parameter must be greater than 0 Fri, 12 Feb 2010 23:43:45 -0800 i was wondering if you know any how to fix this error im getting: Warning: fread() [function.fread]: Length parameter must be greater than 0. in myscript.php on line 65 i never seen this before how can i solve this thanks [ This Post Has 6 Comments ] http://www.wallpaperama.com/forums/warning-fread-function-fread-length-parameter-must-be-greater-than-0-t5678.html action on from submit store the textbox values in my database Fri, 12 Feb 2010 23:43:45 -0800 hi everybody my form is posted to an 3rd party site on submit.. Now i want to store the textbox values in my database before posting the values to the 3rd party site.. thanks in advance [ This Post Has 1 Comments ] http://www.wallpaperama.com/forums/action-on-from-submit-store-the-textbox-values-in-my-database-t1828.html How To Fix Fatal error: Class 'SoapVar' not found in PHP Apache Linux Server Fri, 12 Feb 2010 23:43:45 -0800 i just got a dedicated server from www.webune.com and i was wondering if you could help me with this error i am getting, my script worked on my local computer but for some reason its not workin on the productions server, you see, my production server is the one i leased from www.webune.com and my development server is a server i use at home to test my code, they both have the same software version like linux, php, apache mysel etc.. however i get this error on my productions server which i am not getting on my dev serve, anyway, here's the erro <a href="http://www.wallpaperama.com/forums/how-to-fix-fatal-error-class-soapvar-not-found-in-php-apache-linux-server-t1736.html">..... Read More </a> [ This Post Has 4 Comments ] http://www.wallpaperama.com/forums/how-to-fix-fatal-error-class-soapvar-not-found-in-php-apache-linux-server-t1736.html Howto Fix Fatal error: Cannot use object of type stdClass as array in PHP Fri, 12 Feb 2010 23:43:45 -0800 ok, today i was working on a script and i got this error when i tried to display the information from an array. now, i am not an expert on arrays, but ususally i can figure them out, but this error i've never seen. at the end of the script there was this variabled: $response so when i echo it, it didn't show anything, echo $response; then i thought, maybe its an array so i put this code: echo &amp;quot;&amp;lt;pre&amp;gt;&amp;quot;; var_dump($response); echo &amp;quot;&amp;lt;/pre&amp;gt;&amp;quot <a href="http://www.wallpaperama.com/forums/howto-fix-fatal-error-cannot-use-object-of-type-stdclass-as-array-in-php-t1735.html">..... Read More </a> [ This Post Has 12 Comments ] http://www.wallpaperama.com/forums/howto-fix-fatal-error-cannot-use-object-of-type-stdclass-as-array-in-php-t1735.html