Apache Hangs With PHP5
We have installed PHP 5.0.1 on a Windows 2003 Server with IIS6 in ISAPI mode. The processing of .php files works fine with our basis version of the php.ini file. But, as soon as we edit the php.ini file to outcomment the line "extension=php_sybase_ct.dll" (or "extension=php_pdf.dll") and restart the IIS6, the web site is not able to work with .php files properly, instead the web server seems to hang with any .php file.
View Complete Forum Thread with Replies
Related Forum Messages:
PHP5 From Apache
This might have been covered in this forum before, but the search strings I tried didn't turn up a solution. I've been developing an application at home using PHP5 on Linux. I brought the project into work to test it on the school's internal iMac Webserver running OS 10.4 and PHP5. The CLI application is crashing with an . Code: "Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' " error message everytime it hits a class file with a private or public keyword in front of a class property or method. (I switched the load order of the class files to confirm that it was crashing over private and public. The phpinfo.php web page showed me I was running PHP Version 5.2.1; however, on a hunch, I typed php -ver at the command line and discovered I also had PHP 4.4.7 (cli) installed. I tracked down PHP5's location and was able to execute my program typing /usr/local/php5/bin/php main.php.
View Replies !
Apache 1.3, PHP5
I've looked at so many variations on what I might try to solve the failure of pspinfo() to execute when called by a simple test.php file that I'm now lost. My Apache server runs OK. I'm running under XP. I have folowed the steps given in the book 'PHP and Mysql 'but I'm clearly missing something in php.ini or httpd.conf Where does the phpinfo() function reside? Why can't I find it in my PC?
View Replies !
PHP5 On Apache 2
I have tried to install mod_PHP5 on freebsd where I had installed apache 2. It throws as error indicating mod_php5 needs apache 1.3. I am a newbie, shoudl I just run Apache 1.3 rather than trying to run the latest Apache.
View Replies !
Php5 Apache Error
I just installed on a new machine windows server 2003 and installed apache 2.2 on it and then unzip the php 5.1 files in c:php5 then added the load module php5_module line in httpd conf file copied the php5ts.dll to system32 and also in apache bin but when i start apache it keeps giving me error php5apache2.dll module not found if i remove this line from apache it works fine and apache starts but if i add this line it does not start can anybody suggest how to fix the problem why cant apache find the file php5apache2.dll the path is correct.
View Replies !
Install PHP5, Apache 2.2 And IIS
The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up. I have checked the error log and I get the following; [Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.
View Replies !
Installing PHP5 On APACHE 2.2.x
I'm trying to do a new install of PHP5 on Apache 2.2.x and i'm running into a serious snag. It wont load anything! after it's installed, I've checked my configure files and then load it. When i open a page i get nothing. just blank pages no matter what. Then if i turn on the startup error reporting i get errors galore telling me that *.dll's could not be loaded. I've checked my paths, and checked my sources, permissions and everything. The files are there.
View Replies !
Apache Mysql Php5
I've managed to install, config, and make operable an Apache server, mysql, php5, ZendOptimizer, and phpMyAdmin on my WinXp comp. The problem is that when I install a script such as a cms or topsite they fail to run. I want to be able to run and test scripts on localhost before uploading to www.server I've installed such scripts on *nix based web servers without problem. I researched and found that chmod should not be an issue on windows so all the files/folders should have read/write access. I,m completly stumped. These scripts that I've attempted to run on my test server go through thier entire install process creating tables and such untill complete. I point to the folder/index.php and nothing.
View Replies !
PHP5 With MySQL 4.1 On Apache 2 On Win98
I am in the process of learning php. I am particularly interested in its uses with MySQL. I have Apache 2 and PHP5 both installed and working fine. I pasted a MySQLi example for opening and connecting to a MySQL DB into "hello.php" <?php $mysqli = new mysqli("localhost", "my_user", "my_password", "world"); /* check connection */ if (mysqli_connect_errno()) { printf("Connect failed: %s ", mysqli_connect_error()); exit(); } printf("Host information: %s ", $mysqli->host_info); /* close connection */ $mysqli->close(); ?> For some reason when I get: Fatal error: Class 'mysqli' not found in D:Apache groupApache2htdocshello.php on line 7 I installed PHP in "d:php" and added it to my path in my autoexec.bat. in php.ini: .... extension_dir = "d:phpext" .... extension=php_mysqli.dll I read all the posts at the bottom of the pages on PHP.net website where someone says "I had a problem and I got...yada...yada and did everything each of those posts said you had to do and it still won't work. The only thing left is how PHP needs compiled with a "--with" statement or something like that but I'm using the windows binary so that shouldn't be a problem... Is there some other problem it could be besides a problem with finding a dll or ini?
View Replies !
Net-snmp + Php5 Apache Module
I've recently built a new server on which I've tried to configure and install PHP5 (I've now tried 5.0.4, 5.0.5, and 5.1.0RC1) along with Apache 1.3.33 and net-snmp 5.2.1.2. (Building PHP5 as an Apache module) Everything compiles just fine, but when I try to call any of the SNMP functions (i.e. snmpget) from a PHP script on a web page, I get the following error: Warning: snmpget() [function.snmpget]: Could not open snmp connection: Unknown host in /var/www/test.php on line 5 However, I can execute the same script (which just consists of a simple snmpget) from the CLI and it works just fine. It also works fine if I execute from Apache as a CGI. If I build the same configuration with PHP 4.4.0, everything works fine from within the Apache module. I've tried executing all of this from the CLI as the Apache user as well and it does not seem to make any difference. Has anyone else encountered this issue? Any ideas about what I could try to fix it?
View Replies !
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled. I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.
View Replies !
Apache 2.0 W/PHP4; W/PHP5 Cohabitate
Apache 2.0 is currently installed to support an application using PHP4. I do not have PHP4 development environment installed. I want to install PHP5 for a learning session. The httd.conf file in Apache has the following entry: LoadModule php4_module "C:/Program Files/ktdms/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/Program Files/ktdms/php" <Directory "C:/Program Files/ktdms/knowledgeTree"> The install process for PHP5 application instructs the following insertion in httd.conf: # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" Will this work without conflict? Can I install PHP5 development environment using Apache 2.0 while another application is using Apache 2.0 with PHP4?
View Replies !
Apache/ Win XP Home/ PHP5/ MySQL
I can get PHP5 running on Apache 2 installed on Windows XP Home Edition. Now I want to add MySQL4 to the package. I installed it but I'm not sure what to do now. My PHP5 scripts are running fine. The MySQL server seems to be running though actually I'm not sure. When I write $link = mysql_connect("localhost", "mysql"); I get the PHP5 error message "Call to undefined function mysql_connect()" Can anyone help?
View Replies !
Trying To Get MySQL, Apache, And Php5 To Play Nice Together
I'm trying to get MySQL, Apache, and Php5 to play nice together in Windows but having problems. I don't want to install those automatic 'all-in-one' packages because I want to know how to do it myself. I think I installed Apache correctly because when I type http://localhost in my browser I see my directory, but echo phpinfo() gets me a blank page. Can someone please point me to a resource that explains how to get php5 working? I put the doc root path in my php.ini to point to C:Program FilesApache GroupApache2htdocs and no go.. Also, am I suppose to put my public_html folder inside of htdocs in tact, or do I empty the contents of my public_html into htdocs?
View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2. First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:
View Replies !
Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
I did the following as instructed in the docs. (see below) everything seemed to install ok and I started apache with no complaints, but, 1)I do not see a process for apache using ps -ef 2) In yast I see that the new apache2 version is installed but not php5, its still on php4 any ideas ? 1. gzip -d httpd-2_0_NN.tar.gz 2. tar xvf httpd-2_0_NN.tar 3. gunzip php-NN.tar.gz 4. tar -xvf php-NN.tar 5. cd httpd-2_0_NN 6. ./configure --enable-so 7. make 8. make install Now you have Apache 2.0.NN available under /usr/local/apache2, configured with loadable module support and the standard MPM prefork. To test the installation use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start and stop the server to go on with the configuration for PHP: /usr/local/apache2/bin/apachectl stop. 9. cd ../php4-NN 10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs 11. make 12. make install 13. cp php.ini-dist /usr/local/lib/php.ini Edit your php.ini file to set PHP options. If you prefer this file in another location, use --with-config-file-path=/path in step 10. 14. Edit your httpd.conf file and check that these lines are present: LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php The path on the right hand side of the LoadModule statement must point to the path of the PHP module on your system. The above statement is correct for the steps shown above. 15. Use your normal procedure for starting the Apache server, e.g.: /usr/local/apache2/bin/apachectl start
View Replies !
PHP5.05, Mysql4.1, Apache On Windows XP - Cant Get Php To Talk To Mysql
I have read all (ok most) of the posts relating to "Call to undefined function mysql_connect()", read the manual on PHP.net and done eveything thats ive been asked to do but cant get PHP to talk to MySQL, PHP is working fine but I dont get any mysql info when running <? phpinfo() ?> and get the "Call to undefined function mysql_connect()" when trying to connect to mysql through php in browser, please help. 1. I have added C:php; to the end of the environment variable path 2. I have edited my php.ini file to : extension_dir = "c:phpext" extension=php_mysql.dll - removed the ";" ... ive checked i only have 1 php.ini file! 3. The dll "libmysql.dll" is in the folder C:php 4. The dll "php_mysql.dll" is in the folder c:phpext
View Replies !
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error: "Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id" Does anyone know what is causing this error,or what I can do to correct it?
View Replies !
IE Hangs In Certain Instances
To anybody experienced using Filemaker FX, any possible help would be appreciated. When the script dialogue box is open on the client and one tries to access via the web, IE hangs up. Is there any way to trap for this condition? It appears to hang up when the following line is being performed: fputs ($fp, $socketData);
View Replies !
Session_start Hangs
I have a session started in php and two browser windows (IE)/tabs (FF) open. In one window, I execute a very slow report, immediately after that, I execute a fast simple page in another. I have set up a timer that records time into global variable at the start of the request, it outputs three time values in seconds - right before session_start, right after session_start, and at the very end of the request. here's what it shows Slow report that started a second earlier: DEBUG: Before session start: 0.0115 DEBUG: Session start: 0.0133 DEBUG: End request: 101.9878 "Quick" page that started after it: DEBUG: Before session start: 0.0114 DEBUG: Session start time: 98.467 DEBUG: End request: 99.084 The same is true for any request count, all of them load as fast as the slowest one. What's wrong w/session_start and how do I fix it?
View Replies !
System() Call - Hangs
In a PHP program(php1.php) i have a system() call like this: system('/usr/local/bin/sh php2.php arg1'); The original PHP program (php1.php) when executed hangs. It stops responding. But if the system call is commented the program works fine. The second PHP file (php2.php) when executed from the command line works fine. But when the same php2.php is called from the php1.php using the system() the code stops responding.
View Replies !
Mail() - Browser Hangs Over
When I submit the form I produced ... Nothing happens, it just says: sending information to URL.... in the browser and hangs over. Here is my script: <? $action = $_REQUEST['action']; global $action; function showForm() { ?> ......
View Replies !
Getmxrr Hangs With Tiscali
I have a site which relies on getmxrr to validate email domains. It's been working fine for ages. I have just discovered that when the domain name is "tiscali.co.uk" getmxrr doesn't work. Worse still, the whole site hangs. Whilst locating the problem I ended up with a script that couldn't be simpler but which doesn't work for the tiscali domain name. <? echo(getmxrr("tiscali.co.uk", $temp) . "<br/>"); print_r($temp); ?> Has anyone got any ideas? Is there anyway to test it's not going to hang before running it?
View Replies !
Browser Hangs On Pclose
I use the following code in one of my pages to setup and start a game server. It works fine in Firefox, but hangs for 5-10 minutes in IE before continuing on past the pclose($f); part. <?php $f = escapeshellcmd("gamerunner.exe -map ".$map." -game ".$game." -time ".$time.""); $handle = popen("$f", "r"); if(!$handle) { echo ("Error launching server.."); } sleep(1); pclose($f); ?> <p>
View Replies !
Session_Start() Hangs After Setting Session_Id
I am trying to do the following in one of my pages. session_id($_GET['SESSIONID']); session_start(); I am running php5, however as soon as I call session_start the script hangs and nothing happens. Is anyone else experiencing this problem, or am I doing something incorrectly?
View Replies !
Session Management Hangs Firefox On Mac
I have a somewhat strange problem. The firefox browser on a mac (tested 1.5.0.4) hangs after the third or fourth call in a session. This happens both with cookies enabled and by passing the session via links. It seems that this happens while starting the session, after commenting session_start() out, firefox behaves just fine. A recent 2.0 is also reported to have the same problem. Under Linux everything works just fine, konqueror (tested: 3.5.3 to 3.5.5) as well as firefox (tested 1.5.0.4 to 1.5.0.7) are okay, and so is Opera. I've tested IE 5, 5.5 and 6 under wine. These browsers work fine, too. I don't have a Windows box here, so I can't say anything about firefox under Windows, but this is not reported as a problem. Btw, safari browser works like a charm under Mac OS X. php version is 4.4.0-0.dotdeb.3. If you like to test yourself: http://kultbag.de (this is a commercial site, please don't misunderstand this as spam. Btw, non german users should get presented an english version of the site as default. Does this work?)
View Replies !
Win2k CMD.EXE Hangs When Exec() Called
I'm using ImageMagick to do scaling / filtering to uploaded images by calling the following: exec("cmd.exe /c convert.exe -filters in.jpg out.jpg"); This works flawlessly on our developlemt servers, but on our webserver it'll work for a day or two, then every time exec() is called ImageMagick runs, does the conversion and terminates (it's removed from the Task Managers display, out.jpg is saved fine), but CMD.EXE stays resident and PHP locks up. Code:
View Replies !
Exec() Page Freeze / Hangs
ive been using $output = array(); exec('tasklist /fi "Imagename eq sc_serv.exe" /NH', $output); to grab the PID of a process after creating it in windows using this code. $WshShell = new COM("WScript.Shell"); $oExec = $WshShell->Run($setting['dir_to_cpanel']."files/windows/sc_serv.exe $filename", 3, false); it was working fine until today. i dont know if i changed code that affected it somehow elsewhere but when using exec('tasklist /fi "Imagename eq sc_serv.exe" /NH', $output); the page will just freeze. ive figured that php is waiting for cmd.exe to respond or close or whatever as when running the exec() cmd.exe pops up in the process list and stays there.
View Replies !
Pg_get_result() Hangs For Query Length > 65535
I have a script running on PHP v4.3.6 (cgi) that hangs forever in a call to the Postgres pg_get_result() function when and only when the query length is 65536 or more bytes. The query is a simple INSERT, of a single ASCII value into a 'text' type field, and works fine for shorter queries. (As the code first calls pg_escape_string() on the value to be inserted, I'm sure the problem doesn't relate to bad characters in the data.) Anyone have any ideas? My impression is that few PHP coders use pg_send_query() and pg_get_result(), despite this being the only way (AFAIK) of getting specific error codes/text when something goes wrong (in which event pg_query() just returns false). The following is an extract from the offending code: if ($db_type == 'mysql') { $qry_id = @mysql_query ($x_qry, $x_db_conn); $g_db_err_no = mysql_errno (); $g_db_err_str = mysql_error (); } else if ($db_type == 'postgres') { # Because pg_query() returns FALSE if the query fails, one must must # use pg_send_query() and pg_get_result() to get the result handle. # # $qry_id = @pg_query ($x_db_conn, $x_qry); # if (! pg_send_query ($x_db_conn, $x_qry)) { die ("pg_send_query"); } !!!!!!!! QUERY OF LENGTH 64K OR MORE HANGS IN FOLLOWING pg_get_result() CALL if (! ($qry_id = pg_get_result ($x_db_conn))) { die ("pg_get_result"); } # jr.debug error_log (" past pg_get_result()! ", 3, '/tmp/hack.log'); # pg_result_error(), available from PHP v4.2.0+, like pg_result_status(), # returns a better result then pg_last_error(), as the latter may be set # by all kinds of internal calls and thus not reflect the app-level error. # $g_db_err_no = pg_result_status ($qry_id); $g_db_err_str = pg_result_error ($qry_id); } else if ($db_type == 'mssql') { :::
View Replies !
PHP Form Processing Hangs Page Load
I am trying to write a simple PHP script to process a form.. the function seems to be working fine // subscriber is the users email in the form if (( $subscriber ) && ($_SERVER['REQUEST_METHOD'] == 'POST') ) thing is while this processing is taking place the page load hangs... in IE i see nothing the page background, in Firefox (even worse) I get only 1/2 the page.... I would like the whole page to load the the processign to take place, except that my PHP is 1/2 way down the page, inside the form
View Replies !
Proc_open Hangs When Started Process Crashes
I'm using proc_open to start a process on a WindowsXP server. If the process that I start crashes for some reason, the whole PHP parsing hangs. When opening the TaskManager I can see my process still exists, meaning it actually hasn't ended although it crashed. any ideas how to solve this?
View Replies !
Mail() Function Always Works Fine, But Hangs.
Just the simplest invocation with hard coded parameters, followed by echoing a message, hangs for exactly 1 minute. ("defaulttimeout" in php.ini is set to 30 (seconds)). If I don't wait, and immediately hit the browser's "stop" button I get that "transfer interrupted" message, but the email still gets sent and received just fine. Sendmail is not running, "sendmail_path" is not set in php.ini, and the email headers look as if the email was sent from the command line using /bin/mail.
View Replies !
Timeout For File() - Script Just Hangs, Without Displaying Any Errors
I'm using file() to get the contents of an XML file from a remote server. The problem is, if the server is down or the user enters the wrong username for the remote server, the script just hangs, without displaying any errors. I've tried using ini_set 'default_socket_timeout', 8); before launching the script but it doesn't have any effect (probably because I don't have the right permissions). Is there any other way I can set a timeout for the remote server, then return an error if the time is exceeded.
View Replies !
Large File Uploads - Either The Transfer Hangs Or $HTTP_POST_FILES Is Empty
I've got a client who wants to allow his clients to upload 100MB files thru HTTP. He also wants a progress meter. I'm using the megaupload progress meter, minus the 5MB filesize limit. I've also set my apache transfer timeout to a ludicrously high number, and in php.ini I've set upload_max_filesize, max_execution_time, max_execution_time, etc to values that should allow for large file uploads. I can upload files of several MB, but w/ anything larger, either the transfer hangs or $HTTP_POST_FILES is empty for the processing script. megaupload uses some perl/cgi code to handle the post data and show the progress meter, but I looked thru it carefully and nothing in there seems to be likely to cause a problem. Can anyone give me advice on what else I should look into? This is driving me NUTS...
View Replies !
Make Hangs On "libz.la" Not Found Error
This afternoon I successfully compiled php4.3.3 with a given set of configuration options. It then transpired that I had used incorrect versions of libxml and libxslt on which to build the php. So I built newer versions of each. I therefore needed to rebuild php again in order to take advantage of the changes. I did a 'make distclean' and started from scratch. Code:
View Replies !
"php -v" Hangs
On my Windows XP Home Edition version 2002 SP1 laptop with PHP 4.3.4, "php -v" (and webpage usage) fails to complete unless I end the php.exe task in Task Manager. When I do end that task, "php -v" ends and I have a command prompt again. If there is a webpage containing PHP code, the webserver then delivers the webpage as expected. The PHP code is correctly executed. I initially installed PHP using phptriad, which has PHP v4.1.1. The hang behaviour happened right away. I installed PHP v4.3.4 but I have the same hang. I have not found anything relevant in Google or Yahoo about my situation yet. I have not found any error messages yet when the hang happens. I have not found any error messages in my system about this hang. Is anyone running PHP on Win/XP HE v2002 SP1? how I can track down why PHP is hanging?
View Replies !
Changes For PHP5 ?
I'm trying out my local copy of a site that uses php4, mysql,apache2. I've moved it from a php4 machine to a php5 machine, and it doesn't work at all now. A couple of other php4 sites I've moved, which are straight php and do not use mysql are working fine though. So it seems that the mysql php interface maybe the problem. Are there any site/docs which cover the differences between php4 and php5, and likely problems that may occur, particularly with mysql?
View Replies !
GD2.0 In PHP5?
I seem to remember reading somewhere that GD2 was now included with PHP5 but I cant find any reference to it on the PHP website, nor can I find instructions on how to ensure PHP5 has GD2 enabled. Does the default source download include GD2 and is it automatically enabled when I install it or do I need to add an option to the configure command?
View Replies !
PHP5 + IIS
I am having problems trying to get PHP5 RC3 to run on IIS 5 or whatever version comes with windows xp If I use the php.exe cgi and try to run a .php will the server just hangs If I tell IIS to use the ISAPI module PHP5 runs but doesn't seem to be able to find extension files. I try to run a script that uses mysql and I get the message Call to undefined function mysql_connect() even though the path to my extensions directory and the supporting dlls have been copied to my system32 directory.
View Replies !
PHP5 Vs ASP.Net
I've been searching like crazy, but I can't find a head to head comparison of PHP5 and ASP.Net. I have found the article on msdn on php4 vs asp.net, but i'd like to find a more up to date and and potentially unbiased look.
View Replies !
PHP5 As A CGI
(In Apache2) I have this setup and using the new CGI daemon interface... no probs. However the binary is accessible via the browser. I suppose I wouldn't even make this an issue but I get this when accessing the binary: Warning: Unexpected character in input: '' (ASCII=16) state=1 in /usr/local/bin/php on line 4777 Parse error: parse error, unexpected T_STRING in /usr/local/bin/php on line 4777 So I'm wondering if there is a more secure way to install the binary? or perhaps I'm doing something wrong. Here is my relevant apache config directives: ScriptAlias /php/ /usr/daemon/httpd/php/ AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps Action application/x-httpd-php "/php/php" I compiled the cgi binary "without_redirect", ""without_discard", "without_fastcgi", "without_pathinfo".
View Replies !
XML-RPC And PHP5
I would like to use PHP5 to interact with an XML-RPC web service. I've noticed a number of libraries on the net however many are out of date and not specific to PHP5. recommend the best way to use XML-RPC and PHP5?
View Replies !
How To Set $this In PHP5
I ran into this problem trying to run a PHP4 program in PHP5: A class implements persistence by serializing itself and saving the string to a file. In the constructor, the object restores itself by setting $this to the result from unserialize(). In PHP4, this is legal. In PHP5 I get an error. How do I fix this aside from manually copying the object properties?
View Replies !
PHP5 / XML API
I'm trying to prase and use information I'm getting from an XML API in my system. The user is supposed to be able to choose between the returned agents and then select one of them. When they click "continue" or similar the rows of the agent that the user selected should be saved/assaigned to different PHP variables. Code:
View Replies !
Iis+php5
I just installed php5(ISAPI mode) on win2003 server machine with IIs 6 and manage to get phpinfo to work. however, when i tested my application. it seems that system is unable to understand my php codes. For instance, a input tag where i put <?=$myvar;?> for thevalue attribute. the browser simply show the text box with <?=$myvar;?> in it. any idea where i did wrong? the scripts was perfertly alright in php4+apache ebvironment.
View Replies !
Php5 And Xml
I am trying to find a way to add a child node at the top of the node tree. My xml document has root <songs> and child elements <song>. I need to be able to insert <song> elements at the top not at the bottom like appendChild.
View Replies !
Dom And PHP5
I need to add the following to some XML that I need to send off to a server.. <?xml version="1.0" standalone="no" ?> <!DOCTYPE graph SYSTEM "graph.dtd"> I know that when I do: $doc = new DomDocument(Ƈ.0');. I get <?xml version="1.0">. How do I add the DOCTYPE using DOM and how so I add the Standalone?
View Replies !
PHP5 Rc2 Now
We've updated our dev copy of PHP5 to RC2 and I've noticed that if I include a file upload form element and submit the form without selecting a file it generates a "Notice: No file uploaded in Unknown on line 0" error. Is there any way to get it to stop generating those notices? I don't want to turn notice reporting off as they're useful while developing, but I don't want that notice happening whenever a file upload is not required as it breaks redirect and messes the page up unnecessarily.
View Replies !
PHP5
I am running my Apache2 server. But the problem is that PHP scripts are not running. HTML is running. I have installed PHP5 module for Apache.
View Replies !
|