Re: [PHP] Re: [PHP-WEBMASTER] php error
can we see the code of the form ? On Mon, Aug 13, 2012 at 11:09 AM, Daniel Brown danbr...@php.net wrote: On Mon, Aug 13, 2012 at 2:32 PM, tomas lagro tomas.la...@hotmail.com wrote: Hello, my name is tomas, i'm having a problem and i've checked a lot of times the script and it is not that, because in my local xampp server it works correctly, the issue is that i have a form on my webpage and when you submitt it, the post values are not being requested, so the query array has no values and has no result because of this. Is this a php.ini mistake? what can it be because its driving me crazy. Thanks for ypur time This email belongs on the PHP General mailing list (CC'd), Tomas, and you should subscribe to that list at php-general-subscr...@lists.php.net to follow the discussion and get help with your questions. -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Variable representation
or you can do this echo $row[Bible_knowledge_phrase_solver_game_question_topics_$i];
Re: [PHP] reload page without use header
you can use header(Refresh: 60); to refresh your current page if that what you really need. 60 means it will be refresh in 60 seconds. On Sun, Jun 17, 2012 at 12:06 AM, Farzan Dalaee farzan.dal...@gmail.comwrote: hi guys is there any way to reload page without using header('location :index.php'); and javascript? Best Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] A problem about sessions
i can't undersans much of your question,, but i think you supposed to write the statement to set the variable's value after the session_start() called, like this ... session_start(); . some codes $_SESSION['some_var']; --- don't put it before the session_start() On Thu, Jun 7, 2012 at 5:51 PM, Stuart Dallas stu...@3ft9.com wrote: On 8 Jun 2012, at 00:39, Tazio Ceri wrote: I have a PHP script that takes very long time to execute. I manage it using the following structure: ob_start(); // some code session_start(); // some code header(Content-length: .ob_get_length()); ob_end_flush(); // some other, very long, code! The problem I am facing is that, after having set up a session, often I have error as I don't find any simple variable that I wrote in $_SESSION. Correct my if I am wrong, but I think that $_SESSION get saved to disk only at the end of the script, after the very long code has been executed. There is a way to save the session manually just after ob_end_flush()? http://php.net/session_write_close -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What is The best way/tool for debuging PHP?
i'm using dreamweaver its just good for designing + debugging ,, you dont have to type all the code ,, it would generate the script by itself so you can learn from the generated script ,, but takes time to make it handy ,, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] problem sending email
hi all,i'm having this problem in sending email using pear. it just wont send :( here's the code .. ?php require_once 'Mail.php'; $from_name = My Self; $to_name = My Friend; $subject = Sending Trial; $mailmsg = GOD please make it work; $From = From: .$from_name. mym...@gmail.com; $To = To: .$to_name. some...@yahoo.com; $recipients = some...@yahoo.com; $headers[From] = $From; $headers[To] = $To; $headers[Subject] = $subject; $headers[Content-Type] = text/plain; charset=iso-8859-1; $smtpinfo[host] = smtp.gmail.com; $smtpinfo[port] = 465; $smtpinfo[auth] = true; $smtpinfo[username] = mym...@gmail.com; $smtpinfo[password] = mypassword; $mail_object = Mail::factory(smtp, $smtpinfo); $mail_object-send($recipients, $headers, $mailmsg); if (PEAR::isError($mail_object)) echo $mail_object-getMessage(); ?