First  |  Prev |  Next  |  Last
Pages: 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
How to submit form via PHP
Hello. I'm pretty noob in PHP and would like to know how can I submit some HTML form got via file_get_contents(URL). For example: <form name="someform" method="post"> <input type="submit"> </form> so how can I submit 'someform' form. Thanks in advance for any suggestions. Matìj "czech_d3v3l0p3r" Grabovský... 17 Aug 2008 10:00
Buffering problem
I'm trying to make php output things sequentially as they're printed/echoed.. No luck. It's buffered to the end of the script, and then it comes on to screen. This is while running Apache2, in a cli session it works fine. The script does *not* have any buffering commands at all. The web server does not have mod_... 15 Aug 2008 15:09
Sessions - Failed to initialize storage...
Can someone tell me what I am missing here? This is working fine on my development machine(5.2.6), but on the production box(4.3.2), it doesn't want to work. I am getting that error on my session_start() function. Is the difference in versions what is causing the problems? I've googled and none of the results ... 15 Aug 2008 20:17
SESSION problem
Hi gang: Arrggg -- what the heck is going on? I can't get anything to pass via SESSION -- what's wrong? Here's the example -- (all the code is there): I populate the $_SESSIONs here. http://www.webbytedd.com/b2/session-test/index.php If you click "Proceed to Step 2", you'll see that nothing is passed.... 20 Aug 2008 10:48
[PHP] preg_replace strange behaviour, duplicates
I am trying to nail down a bit of code for changing processor names depending on matches. Problem i am having is the replacement takes place then it seems to do it again replacing the text just replaced as there are similar matches afterwards. example (easier) $string = "The new Intel Core 2 Duo T8300"; $pa... 15 Aug 2008 12:02
[PHP] preg_replace strange behaviour, duplicates
I am trying to nail down a bit of code for changing processor names depending on matches. Problem i am having is the replacement takes place then it seems to do it again replacing the text just replaced as there are similar matches afterwards. example (easier) $string = "The new Intel Core 2 Duo T8300"; $pa... 15 Aug 2008 12:02
PHP Script/Thread ID thingie
I'm logging things with error_log, and would like to be able to sort out one script run from another. So I'm looking for some kind of "script id" or "thread id" or "PHP script run execution ID" type of function. getmypid() just returns the same apache child process ID all the time, so that's not what I want. ... 19 Aug 2008 10:08
Conditional compilation
Hi, Here is something I used to do in C/C++ to include/exclude automaticaly all debugging code at compiling time: #define debug TRUE #ifdef(debug) //debugging code #endif That way I can include/exclude easily all debugging code in the final compiled code. In PHP I have not been able to find anything li... 20 Aug 2008 12:52
import XLS sheet into DB
Hi, I would like to import content of an XLS sheet into a PostgreSQL DB (table). How can i do that ? thanks a lot, A. ... 17 Aug 2008 02:53
Removing an element from the middle of an mdlti-dimentsional array
Hi, Let's say I have the following array: $myArray = array(array('1','2','3'), array('4','5','6'), array('7','8','9'), array('10','11','12')); How do I remove say the second element? I have tried: $myArray = array_splice($myArray, 1, 1); But this seems to remove the second element as well as all the fo... 15 Aug 2008 12:02
First  |  Prev |  Next  |  Last
Pages: 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112