Unable To Fork Exec()'d File In IIS 5.1
I am repeatedly trying to execute a file on my server using exec() or passthru() and I keep getting an Unable to Fork error. Has anybody else had a problem with this in IIS?? The path to the perl script is correct and the script works fine in the C: prompt.
View Complete Forum Thread with Replies
Related Forum Messages:
Running An .exe File Using Exec() Or System(), Unable To Fork Error
I have a problem with running an .exe file using exec() or system() I have downloaded a file called ffmpeg.exe for converting movie clips. I can use the program thourg the command line in windows (cmd), but I'm not able to have PHP run the file. First PHP gave be an "unable to fork" error. But then I gave users access to the cmd.exe file and solved that problem. So now is no problem running for example exec("dir");
View Replies !
Exec(): Unable To Fork
I am trying to use exec() on windows IIS ,but i get the following error Code: Warning: exec(): Unable to fork [html2pdf.exe "http://www.yahoo.com/" "yahoo.pdf"] in c:inetpubwwwrootoctsuppublicationpublicationreport2.php on line 62 and the code that i used is Code: <? $convertpdfprg="html2pdf.exe "http://www.yahoo.com/" "yahoo.pdf""; $checkvar=exec($convertpdfprg);?>
View Replies !
Exec() Function Warning: Unable To Fork (Access Violation At 77F81B4D)
I am trying to execute a DOS command with the exec() function. All I get is fork errors or access errors, regardless of what file I try to execute. Example: <?php exec("sync.bat"); `sync.bat`;?> Warning: Unable to fork [sync.bat] in C:testexec.php on line 3 Warning: Unable to execute 'sync.bat' in C:testexec.php on line 4 PHP has encountered an Access Violation at 77F81B4D Id doesn't seem to matter what kind of file I try to execute, .exe, .bat or .com. Any ideas? Has ANYONE executed an external program under php/Windows?
View Replies !
Using Form To Post Info And Pic's (Warning: Unable To Fork)
I have created an admin form which allows the admin to update info and pic's to his site but I am having trouble with the update_pic script. When I pass along the form to the php script it gives me the following error message: "Warning: Unable to fork [C:WINDOWSTEMPphp30.tmp /full/path/to/joesauto/images/anime_dvd_icongif.gif] in c:inetpubwwwrootadd_data.php on line 39" This is line 39: exec("cp $picture /full/path/to/joesauto/images/$picture_name"); This is the form I used which was taken from this site. Code:
View Replies !
Warning: Move_uploaded_file() Unable To Move *file* To *new File* In *script*
I'm having trouble with move_uploaded_file()- my script was working fine until a month or two ago when it suddenly stopped. Now I get the error: Warning: move_uploaded_file() Unable to move *file* to *new file* in *script* Thats it, no permissions error or "unable to open stream"- all the searching I've done everyone seeems to get another error- but I'm only getting the one. Permissions on the folder are 777, the paths are absolute and definitely correct, safe_mode and open_basedir are both off. I even called is_uploaded_file() on the line before it and it returned true. The only thing I can think of is that the hosts upgraded to php4.4 recently- could that be it? Are there any known problems (or changes that would break my script)?
View Replies !
PHP Fork
I would like to have a fork in my PHP code - the coding will branch with 2 possible options to execute (2 possible web contents to show). Which one is executed will depend on a certain changeble ratio factor. So, for instance, if the ratio is 3:7: if the PHP code is called 10 times - 3 times option 1 will be run. 7 times option 2 will be run. how can I go about coding this. I really haven't got a clue how to implement this ratio (probability) control.
View Replies !
Fork
I would like to have a fork in my PHP code - the coding will branch with 2 possible options to execute (2 possible web contents to show). Which one is executed will depend on a certain changeble ratio factor. So, for instance, if the ratio is 3:7: if the PHP code is called 10 times - 3 times option 1 will be run. 7 times option 2 will be run. My Q is - how can I go about coding this. I really haven't got a clue how to implement this ratio (probability) control.
View Replies !
Upload (unable To Read File)
i´m trying to upload a file. I tried many ways but it always return the same error... Unable to open c:file.jpg for reading. the file exists, but any file gives me the same error.. anyone know what is happening?
View Replies !
Unable To Remove Items From A File
I am at my wits end with some code for a website I am working on. The page in question is simply for a user to add items to a list of data. The data is stored in a temp file and later added to a database. I have successfull set the page to add items to the list of data. My issue is with trying to remove a line of data from the file. The following snippet of code runs if a link has been clicked on the line of data to be removed which reloads the page running this code which is intended to remove that line... PHP Code: ....
View Replies !
Move_uploaded_file - Saying File Is Unable To Move It.
I am using the following code to try and upload a file using php. This is on my local server so I have access to php.ini and apache stuff. It's windows xp I'm using. Code: mkdir("test"); if(move_uploaded_file($_FILES['userfile']['tmp_name'], "test")) { print "{$_FILES['userfile']['name']} uploaded successfully"; } else { print "Upload failed"; } If fails for some reason saying it is unable to move it.
View Replies !
Opendir Unable To Display File
I'm trying to use this script to display the contents of a network share on server A from a PHP install on server B. The purpose of this script is for troubleshooting. It's meant to show that, yes, you can connect to a network share on a remote server and see files and directories there. This is the script: <?php ini_set ('display_errors', 1); error_reporting (E_ALL); $folder=dir("//<servername>/<share>/<folder>"); while($folderEntry=$folder->read()){ echo $folderEntry."<br>"; } $folder->close(); ?> Warning: dir(//WSERVER.WoodWing.local/Public) [function.dir]: failed to open dir: Invalid argument in D:ContentwwwrootphptestingFoldertest.php on line 6 Fatal error: Call to a member function read.
View Replies !
Max_execution_time And Fork
I use recursive readdir as the engine for a numerous file processing routines, including generating thumbnails, using getimagesize imagecreatetruecolor and imagejpeg, etc. where each resize operation involves instantiating a new resizer class instance. .....but my (shared host) website is large, so I run past max_execution_time if I try to make all thumbnails at once, from the top of my document_root. My virtual file system includes a php.ini which I can edit, but bumping max_execution-time (although the file saves) seems to have no effect, and I do not have permission to run /usr/sbin/apachectl restart Perhaps the php.ini change will start to work the next time the server reboots. In the mean time, is there some way to fork a new process, for instantiating the resizer? I could try to use exec to run command line php. But there must be a more elegant way to do this. I'd use perl and imagemagick, but my shared host server doesn't have the right perl libs installed, and that's another can of worms.
View Replies !
'fork' A Session
I am working on a webbased application (not a website) and from a page a new instance of the browser is started (using javascript) offering a different set of functionalities. What I want is that each new instance of the browser continues with its own set of sessionvariables, as two different sessions. Is that possible? I use the following javascript function: window.open('code.php?submit=new&id=1,'status=no') I use session_start() at the beginning of every page, i also considered using session_regenerate_id in various ways but this didn't have the desired effect.
View Replies !
Unable To Upload File Using Copy Statement
I need to upload files to my server but it won't let me, it comes up with the error relating to the copy if statement, which sits in the upload_file function about half way down the code. The userfile_name and the filename1 are variables passed from a form to the upload_file function. Below is the code for the copy statement, can anyone see any major problems? //Displays an error message if can't copy the file, from the temp dir to the directory on the server if(!@copy($userfile_name, "$dir/$filename1")) { error_message("Can't copy $userfile_name to $dir/$filename1."); }
View Replies !
Unable To View Test File After & IIS Installation
I want to learn PHP and I am trying to correctly install PHP on my Windows XP Pro machine and I am trying to use IIS as my web server. I tried going through the manual installation instructions at php.net, but now when I try to view my test file I get a "404 Not Found" error. Here is the address that I put into IE in an attempt to view the file: http://localhost/phpfiles/test01.php The contents of the test file are such: <?php phpinfo(); ?> The full error message is "404 Not Found - The requested URL "/phpfiles/test01.php" was not found on this server." I'm guessing that this means that IIS is set up properly and that the issue is with my php.ini file and/or how PHP is installed on my machine. What does this error mean and what do I need to fix to be able to view my test file? Is this an error in my IIS set up or in my php.ini setup, both, or neither?
View Replies !
Fork - Run A Script In The Background
What is the best way to fork without using pcntl_fork()? I've tried something to the effect of: exec('script.php arg > /dev/null &'); But it seems to do weird stuff instead of what I actually want to do. Is there another way I can run a script in the background, without having to wait for it to return for the parent script to continue?
View Replies !
Include() Fork Bomb
I'm a sysadmin who runs an apache server with PHP. Recently, one of my users accidentally created a fork bomb by creating a php file that includes itself. Is there a way to detect when someone has done this and prevent it from infininite recursion.
View Replies !
Exec() And Open A Bat File
I'm trying to make a script that would run on localhost and open a bat file at certain point. I've already read a lot about exec(), system(), shell_exec(). But none of them works. Usualy browser tries to open something for 5 minutes but then stops.
View Replies !
Warning: Ftp_exec() [function.ftp-exec]: SITE EXEC Is An Unknown Extension
This is kind of a part II to a question a posted earlier about exec and shell_exec not working. I'm trying to use ftp_exec to execute some simple command: $conn_id = ftp_connect("$server") or die ("Cannot initiate connection to host"); ftp_login($conn_id, "$username", "$userpass") or die("Cannot login"); $command = 'cd..' if (ftp_exec($conn_id, $command)) { echo "$command executed successfully"; } else { echo "could not execute $command"; } ftp_close($conn_id); I'm getting the following error: Warning: ftp_exec() [function.ftp-exec]: SITE EXEC is an unknown extension in /home/urieilam/public_html/work/video/test1.1.php on line 21 could not execute cd.. Have tried other commands as well, get the same. Could this be a security issue or something to do with p Safe Mode? I don't know much about commands, shell, etc..
View Replies !
Error: Unable To Cache A Remote File Using Copy
I used the following code to copy a remote file to my server: copy($URL,$cachefile); This worked very well on my old server, but it does not work on the new one. I am getting the following error: Unable to open 'http://[...]' for reading: No such file or directory in /local/copyfile.php on line 23 I searched for more than two hours, but I have not found the solution. On the php.net I found the following: Note: As of PHP 4.3.0, both source and dest may be URLs if the "fopen wrappers" have been enabled. I am using PHP 4.2., though I don't think that this is the reason, why it does not work.
View Replies !
Unable To Write A File In A Directory That My PHP Script Creates
I've a problem of being able to create and remove a directory but unable to write a file inside the created directory for some strange reason. I suspect that this problem could be vaguely linked to Safe mode being set to On since my site is using shared server hosting and probably insufficient/incorrect Unix file permission. Below is my test script that helps me narrow down the problem. -------------------------------------------------------------------------------------------- <html> <head> <title>File IO Test</title> </head> <body> <pre> <?php define("TEST_DIR", "./newsletter/2005_11"); define("TEST_FILE", "./newsletter/2005_11/file_io_test.txt"); echo "Make Directory"; if(mkdir(TEST_DIR, 0777)){ echo "<font color="green">OK</font> "; } else{ echo "<font color="red">Fail</font> "; } if(file_exists(TEST_DIR) && is_dir(TEST_DIR)){ echo TEST_DIR . " exists. "; } else{ echo TEST_DIR . " does not exists. "; } echo "<hr> "; // TEST FILE WRITE echo "Write Open File"; $file_handle = fopen(TEST_FILE, "w"); if($file_handle){ echo "OK"; } else{ echo "Fail"; } fwrite($file_handle, "This file is written at " . date("Y/m/d H:i:s") . " "); echo "Write Close File"; if(fclose($file_handle)){ echo "<font color="green">OK</font> "; } else{ echo "<font color="red">Fail</font> "; } echo "--- START FILE DUMP --- "; readfile(TEST_FILE); echo "--- END FILE DUMP --- "; echo "<hr>"; ?> </body> </html> -------------------------------------------------------------------------------------------- This script will report a success with the creation of the directory on my server, but fails to write a file inside the newly created directory. Originally, I only call mkdir without specifying any permission and it doesn't work. Thus I explicitly instruct mkdir to use 0777 to allow all write operation by everybody, in case PHP and Apache try to write files using "nobody" or "www" user account, instead of my shell login user account. Still it doesn't work. The owner of the created directory is called "www". When I login via SSH and check the permission, strangely, the permission is 775 instead, with Write permission for Others disabled, although I told mkdir to use 0777 instead. Is there any workaround, and what am I doing wrong here? Thanks for sharing with me any insight into this problem. I'm not quite sure what exactly is wrong here, whether because of PHP Safe mode, incorrect directory permission, incorrect file permission or the case of different UID or owner.
View Replies !
Error :: Unable To Open 'file Path' For Writing
I have been working on this code for 2 days now and while progressing have encountered this error: Warning: imagejpeg() [function.imagejpeg]: Unable to open 'C:/web/root/images/thumbs/' for writing in C:web ootdevfilesadditemresize.php on line 40 here is code for the file outputting the error i have noted line 40 so you can spot it easily: Also the value of $GLOBALS['thumbpath'] is : 'C:/web/root/images/thumbs/' .....
View Replies !
Unable To Read Last Line Of File When Reading Backwards
Ok, so I need to read this file from the EOF to SOF...I was going to write up a class but found one by Steve Weet <sweet at weet dot demon dot co dot uk>. So I am using/editing this class right now, and have an issue. I am unable to read the last line of this file I have...I think the issue is that there is no new line at the end of the file, so the last line is skipped... Code:
View Replies !
Php Exec To C Program That Writes File
I'm trying to use the exec() call in php to run a program that I've written and compiled from C. This program attempts to create a new file and write data into it. If I simply run the program from the shell, it writes the file no problem. If i run the program through an exec call in a php script, however, the program executes but it seems to not have the correct permissions to be able to write the file.
View Replies !
Fput Function (Warning: Unable To Find File Identifier 0 In)
I made a script for logging the emails that they send on my site. It works fine on windows 98 version, but when I upload it to a Linux computer it fails. Here are the first lines of the script: $file = fopen("log/index.html", "a+"); $today = date("G:i, l jS Y"); if ($argv[0] == "contact"){ if ($name == ""){ fputs($file, "Text comes here"; fclose$file);} Then the output is: Warning: fopen("log/index.html","a+") - Permission denied in /home/jonathan/public_html/beftubbies/email.php3 on line 3 Warning: Unable to find file identifier 0 in /home/jonathan/public_html/beftubbies/email.php3 on line 30
View Replies !
Create Db Firebird With Php, Exec Does Not Want To Execute A File .bat
I am trying to create db firebird with php, script php generates and executes a file .bat . the file .bat creates db using isql in c:firebirdin, but .bat does not create db when is called by php script, but the file .bat if it works when it is executed from MSDOS, creates db correctly, the question is ¿why the file .bat creates the data base when it is executed by MSDOS but it does not work when is executed by exec in php script? as php script can execute .bat to create db? PHP Code:
View Replies !
Exec, Passthru Disabled So How To Call C++ .exe File?
I am at my wit's end trying to get information out of Streamline.net's support dept about my problem. They reply quickly enough, but seem to try and give out the least possible amount of info each time. The transcript so far is reproduced for your amusement below. To summarise: I've put up a Sudoku-solving program called Sudoku.exe. I want to call it in a php script to solve a puzzle and output the solution. It works fine with Apache/php on my own machine, but it seems Streamline.net disable exec, passthru etc. They eventually say, cryptically: ' CGI executables are supported, however this is very different from executing a program from within a PHP script'. So how would I call my Sudoko.exe file? The 'dialog': My last question seems to have been 'fixed' before being answered, so I'll have another go. I'm trying to call an .exe file on the server but get an 'unable to fork' error message. I have Apache/php installed locally and it works fine. Do you have to turn on 'cmd.exe' permissions or something? Try it yourself at: Warning: passthru(): Unable to fork [Sudoku.exe (argument...)] in (.php file...) It's the same with exec() as well. We do not support passthru or exec functions. So how would I call my Sudoku.exe program from a php script? I do not want 'scripting help', I just want to use some of the functions that you offer as a host and which I have paid for. As I have said what I am trying to do works perfectly on my machine, so it must be a question of something you have to enable your end. What do you mean you don't support passthru or exec? They are both standard php commands. . You asked "how would I call my Sudoku.exe program from a php script?" clearly this is asking us how you can use scripting? Certain functions are disabled in PHP for security reasons. Which functions are 'disabled in PHP for security reasons' ? You can find this out with the inbuilt php function phpinfo() Could you tell me where on the page that phpinfo() produces these functions are listed? For example, passthru() does not appear to be on the page. . search for "disable_functions" on that page. disable_functions lists 'no value'. So again, could you tell me where I can find the list of standard php functions which you have disabled? Please can you provide a link to your phpinfo file so we can investigate this further. We had previously checked this on a linux server, which showed the functions that have been disabled. We've passed this on to an engineer to investigate further. For your information the following are disabled: shell_exec,exec,system,passthru,popen Your knowledge base says: Q. Are CGI (Common Gateway Interface) executables supported? A. Yes these are supported on either the Windows and Linux servers But you are telling me that the only php functions which can call my executable are disabled. Will you clarify once and for all if I can call my exe file or not. I AM NOT ASKING FOR SCRIPTING HELP, I have books about that. I just want to know if I can do ON YOUR SERVER what you say I can do, and if not why not.
View Replies !
PHP Exec() And Zipping Upload File In Windows
I have the following code. What I need is to zip the file (c:webuploadsomeFile) to d:websomeFile.zip. $cmd = 'c:zipzip.exe '. $movedFile. ' '. $finalFile; exec( $cmd, $cmd_output ); File is being uploaded by the apache server, but it's not being zipped. My guess "", escaping, is causing problem in windows path. Do I also have to escape the $movedFile content? Forexample $movedFile= "c:webuploadsomeFile".
View Replies !
Exec And Shell_exec Not Executing Batch File Properly
I am running Apache and PHP on windows XP. Latest versions of them all. I am trying to execute a simple .bat batch file that simply copies 4 files from one location to the batch files location. The php exec command runs like this: V:Corehtdocswp ransfer.bat Y:folder here the batch file is executed and the command following is thrown into the batch file to specify where the files that need to be copied are. The Y: directory is in windows considered to be a network drive, although it is really just a folder on the same machine, i did this because there are spaces in the folder names on its way to where I need the information copied from i.e. "Program Files" When I run this in the command prompt by entering this in manually it runs perfectly. However when running exec in the PHP script nothing happens; when I run shell_exec it gives me the output and it shows that every line in the batch file is executed however it does not actually copy anything. Looking into my apache error log I see that this is related: "The system cannot find the drive specified." Now what I am wondering is, how is it that I can run this script manually but apache tells me I cannot. My permissions are set to allow all and deny nothing since it is a machine well tucked into a safe place. Apache resides on the machine in C: eactorcore and it also setup a virtual drive as v:core. Trying both does not work.
View Replies !
File Upload Issue - Unable To Upload A Large File
I am using PHP Version 4.4.3 under Linux/Apachie to upload files. The PHP.ini upload_max_filesize is 2M, which I need to override this in the HTML (see below). I changed the MAX_FILE_SIZE to 4,000,000 but the system only accepts files less than 2M. Is the override wrong, do I need to raise the limit in the PHP.ini file, or is the Apachie issue. <form name="upload" action="admin.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="4000000">
View Replies !
Warning: Exec() [function.exec]:
I'm using PHP Version 5.0.4 in IIS5, Window 2003. When I execute my script, it prompt me the following error : Warning: exec() [function.exec]: Unable to fork [ping 10.8.1.70] in c:Inetpubwwwrootswitch.php on line 62 Below is my script : <?php $line1 = exec("ping 10.8.1.70", $output); exit; ?>
View Replies !
Unable To Set Cookie!
I'm unable to set cookie! I have tried a lot of codes, but it doesn't work! I don't get any error message, but the script doesn't set cookie. Below is my code:
View Replies !
Unable To Connect
Here is the setup: Server: -SQL 2000 SP3 on a win2k box -Firewall set up to allow connections for all ports ntwdblib.dll version 2.8.0 (newest) Client: XP Pro SP2 Apache 2.0.52 PHP 4.3.8.8 ntwdblib.dll version 2.8.0 (copied from server) extension=php_mssql.dll uncommented i am unable to connect to MSSQL, PHP4 through Windows XP.
View Replies !
Unable To Install PHP
I compile the latest source for php, but when I try to load php module in Apache, I get this error message: Cannot load /usr/local/apache2/modules/libphp5.so into server: /usr/local/apache2/modules/libphp5.so: undefined symbol: _efree
View Replies !
Unable To Insert
Might someone be able to tell me what is wrong with this query? Can't get it to send the data to the db. <? $date = date("Y-m-d G:i:s") ; $db="dbname"; mysql_query ("INSERT INTO dbname (var1, var2, var3, IP) VALUES ($_POST['var1'],$_POST['var2'],$_POST['var3'],$_POST['IP'])$db"); ?>
View Replies !
Unable To Add To Database Through PHP
I have written a short file called config.php that contains all of the connectivity scripting and also a db_close.php that contains the closing script. These 2 files are used thoughout the pages that I have written, so I know that the connectivity is working fine. Here is the issue. I run a simple mysql query that inserts some values into a table. After submiting the values, the script continues as if the values have been added properly, but in fact they haven't been added at all. My problem is that I do not know why it isn't being added because it return NO error in this process. Am I supposed to add some code that returns the mysql errors? Below is the line that adds the field. If this is supposed to be posted in the MySQL forum, please move it. If more info is needed pls respond. include("scripts/config.php"); mysql_query("insert into clients values ('$clientid', '$assoc', '$fn', '$ln', '$gender', '$dob', '$phoneh', '$phonec', '$phonew', '$email1', '$email2', '$email3', '$email4', '$email5', '$fnd', '$lnd', '$fnm', '$lnm', '$phonecd', '$phonecm', '$phonewd', '$phonewm', '$fax', '$address', '$city', '$province', '$pc', '$school', '$occupation', '$balance', '$notes', '$lastlog'"); include("scripts/db_close.php");
View Replies !
Unable To Jump To Row
I have a tariff which is atm 44 rows with 15 columns of numbers. Now i am trying to pull as individual price from the tariff based on user input: Code:
View Replies !
Unable To Upload
I'm not being able to upload at all, I tried to paste the sample included in the documentation and here is what came out: Code:
View Replies !
Unable To Jump Row 0
I am getting the following error: Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 2 in /home/content/i/n/n/**/html/tracker/connect.php on line 35 Here is my coding from line 34 on down. Code:
View Replies !
Unable To Upload PHP Extensions
I've come across a wierd thing in my PHP configuration. Just yesterday, I upgraded everything I had. Apache to 1.3.22, PHP to 4.1, and MySQL to 3.23.46. Everything went well and I was up and running in no time and even got Zend Optimizer to work. The problem submerged when I started adding PHP extensions. The PHP 4.1 distribution contains a lot of extensions with it. I chose modules like zlib, gd, etc. For some reason I could not get LDAP module or PDF module to work. When Apache loads, I get this message:
View Replies !
Unable To Connect To Certain SQL Servers From PHP On IIS.
I am unable to connect to certain SQL servers from PHP on IIS. I have two IIS 5 servers, both are Windows 2000 Server boxes with PHP 4.3.4 and MDAC 2.80.1022.3. I have three SQL Server machines - two SQL2K SP3a machines and one SQL 7.0 SP4 machine. One of the SQL2K servers is the same machine as one of the IIS 5 servers. One of the IIS servers, Server1, can mssql_connect to all three SQL servers. The other IIS server, Server2, can only mssql_connect to one of the SQL2K servers. I get a "connect failed" error when attempting to hit the other two SQL servers. The one it can connect to, incidentally, is the SQL server that resides on the _other_ IIS server. I have tried copying the PHP application from Server1 to Server2. The same PHP app that can connect to all three SQL Servers from Server1 can only connect to SQL on Server1 from Server2. Here's a chart of the servers: ServerName |OS |SQL Version |PHP Can connect to... -------------|-----------|----------------|------------------------- Server1 |Win2k Svr |SQL2K SP3a |Server1, Server3, Server4 Server2 |Win2k Svr |N/A |Server1 Server3 |NT 4.0 |SQL7 SP4 |N/A Server4 |Win2k3Svr |SQL2K SP3a |N/A
View Replies !
Unable To Use $_SERVER['HTTP_REFERER']
Any ideas why I'm not able to use $_SERVER['HTTP_REFERER'] on my shared hosting account (PHP 4.1.2), but I can on my local server (PHP 4.3.3)? I imagine it has something to do with the different versions of PHP or perhaps php.ini, but I'm not sure what?
View Replies !
Unable To Load Library?
I restarted my virtual server on Friday night and since then I've been getting these emails every 10 minutes (there's a Cronjob scheduled to execute). Problem is, I have no idea what it means or why the error is suddenly occuring.. PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/pgsql.so' - libpq.so.3: cannot open shared object file: No such file or directory in Unknown on line 0
View Replies !
Unable To Create A Database
I am unable to create a table in SQL using PHP. I think it might jsut be a code, because it won't even show the page. It just gives me an internal error. <?php $connection = @mysql_connect("localhost","jcruz","abc2000") or die(mysql_error()); $new_db = "testDB2"; $result = @mysql_create_db($new_db, $connection) or die(mysql_error()); ?>
View Replies !
Unable To Call The Session Up
I have developed this problem as to where i am unable to call the session up in a page. The script below is the check_login.php which creates the session and all its variables. The way i am calling it is by Code:
View Replies !
|