473,539 Members | 3,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Latest Bytes Forum

Support forums for various IT topics. Programming languages, databases, systems, applications and more. Subscribe to a community, participate, ask, share your expertise and network.
 
0
1,729
thread by: Adams-Blake Co. | last post Jul 16 '05 by: Adams-Blake Co.
If we use php-cgiwrap, is there any kind of performance hit? Will it take PHP scripts longer to start up or to run? Thanks, Al
2
2,265
thread by: Matt Schroeder | last post Jul 16 '05 by: Marius Mathiesen
Hello everyone. I'm trying to learn php, since it seems to be more efficent than perl. Could someone show me how I can simply print out every element of an array, with a newline between each element? I would really appreciate this. Thanks, Matt
0
1,693
thread by: Simon | last post Jul 16 '05 by: Simon
Dear all, Concerning three session variables, it can work in PHP Version 4.0.4pl1, However it seems not OK in PHP Version 4.3.1 with only two of three variables valid when debug the program. Why? Please give me possible solution, thanks Regards, Simon
2
7,955
thread by: Ruben van Engelenburg | last post Jul 16 '05 by: Ruben van Engelenburg
Hi all, I noticed that when I use socket_create and socket_connect that the socket goes into CLOSE_WAIT state immediately after receiving data. Even when I don't use socket_close on the socket resource. Another weird thing is that they stay in this state until the server gets booted. When I use fsockopen it works as expected, i.e. when I...
0
3,493
thread by: Andrew Crowe | last post Jul 16 '05 by: Andrew Crowe
Hi guys, We're using the ISAPI version of PHP with IIS5.0 On some websites for some reason any php file in the websites root is given the path winnt/system32 (getcwd() returns "C:\WINNT\system32"), while files in a folder are given the correct dir. To fix this I created a file that's included to all the files from php.ini
1
2,936
thread by: Patrick Schlaepfer | last post Jul 16 '05 by: Jon Kraft
Why this code is not working on Solaris 2.8 host. Always getting: PHP Fatal error: swfaction() : getURL('http://www.php.net' ^ Line 1: Reason: 'syntax error' in /.../htdocs/ming2.php on line 28
1
2,845
thread by: Bela | last post Jul 16 '05 by: Bela
Normally users compile a php page to introduce some informations, then these infomations are put-in in 10 different array and with POST method passed to a result php page that elaborate and give result for the information just inserted. Now, I want to use a tablesheet in excel to introduce information in more flexibility mode, and I want to...
1
2,045
thread by: Marcelo G. Nuñez | last post Jul 16 '05 by: RG
Hey, i am working in a independent and portable database that no need a server like MySQL. It have some restrictions now, but it would be best in the future with the MyCSV 0.2 version that I am doing and will publish soon. Visit the proyect and download, it is really useful and if you are as me, that i do not have money for buy a hosting...
5
2,989
thread by: Dan Foster | last post Jul 16 '05 by: Louis-Philippe Huberdeau
Hi, this is my first post to this ng, so please be nice to me! :) ok we're running redhat 7.2 with apache 1.3.26. I had/have php 4.2.1, i need to use some cms package that needs 4.2.2 or better. so i thought i'd download the tar'd source for php 4.3.2 to keep him happy. followed all the instructions to compile and install it, and from...
0
1,519
thread by: Pawe³ | last post Jul 16 '05 by: Pawe³
Jak uruchomic je w PHP? Pawel
2
2,565
thread by: Darrell Blake | last post Jul 16 '05 by: Darrell Blake
I'm trying to use sessions to allow people to log into my site. The problem is that sometimes it works and sometimes it doesn't! As far as I'm aware my script is fine (hence why it works sometimes) and I've had people tell me it's fine too. Basically, when a user enters their username and password it checks that against my mysql database and...
33
9,822
thread by: Frank | last post Jul 16 '05 by: Joshua Ghiloni
What is the best IDE for developing PHP applications? What do you use and why? Thanks.
3
14,017
thread by: Richard Hulbert | last post Jul 16 '05 by: Justin Koivisto
Hi Can Someone tell me why This doesn¹t work: Page 1 $_SESSION = 'A non'; Page 2 Echo $_SESSION;
3
6,695
thread by: Corey | last post Jul 16 '05 by: Joshua Ghiloni
Hello, I have created a form that is sent via email and am getting the following error: Warning: mail() expects at most 5 parameters, 14 given in /home/sites/site324/web/order_form_test1.php on line 277 What does this mean and how do I solve it?
1
3,404
thread by: phpkid | last post Jul 16 '05 by: Roger Smith
Howdy I've been given conflicting answers about search engines picking up urls like: http://mysite.com/index.php?var1=1&var2=2&var3=3 Do search engines pick up these urls? I've been considering converting a site of mine to PHP-Nuke, but if the individual modules aren't picked up in search engines I'm not going to do it. Thanks phpKid
1
2,526
thread by: Rand | last post Jul 16 '05 by: MeerKat
Whenever I use upload scripts there is always one problem, It always just "refreshes" the screen when I press upload. I think I heard this was because of a problem with the newer versions of PHP and some security things. If anybody knows how to allow uploads, please respond.
1
2,054
thread by: noone | last post Jul 16 '05 by: André Næss
hello all. this is a function that i am using which compares values submitted via form, to an index file, and if there is a match, it returns the name of the file that matched. the function supports multiple "keywords" entered in the form, for example "apple pie". however, it fails if it doesn't match the complete "apple pie", even though...
6
3,035
thread by: lawrence | last post Jul 16 '05 by: lawrence
I've downloaded and am now studying the Eclipse class libary. It looks very elegant and well done. But as I am somewhat new to OO, I'd like to see some example code. Documentation is thin, save that generated by PHPdocs. Can anyone show me some sample code? I'm mostly interested in how other people set up their software - what objects call...
7
2,689
thread by: Chris Mosser | last post Jul 16 '05 by: Heikki Tuuri
Until recently, I thought MySQL, and SQL in general was no problem....doing simple INSERTS, DELETES, and UPDATES;...then I heard about triggers, transactions, and stored procedures which I only slightly know what they are. Can any one point me to a good tutorial on these advanced topics...I am already googleing around...but am wondering if...
0
1,983
thread by: lawrence | last post Jul 16 '05 by: lawrence
I've read that objects should always be passed by reference to other objects. I've also read that future versions of PHP may not support runtime passing by reference (default passing by reference as parameters to a function), which is how I'm doing it right now. I'm wondering how any of you might otherwise handle this? Is something like the...
2
6,002
thread by: Nick | last post Jul 16 '05 by: Nick
hi there, When I did the following steps the session in window A lost. 1.) authenticate user in window A and set $_SESSION="joe". 2.) open a new window B by clicking a button (in window A) which calls window.open(..). 3.) I can get the $_SESSION in window B (which is what I want) 4.) When I close window B (manualy or programmaticaly),...
0
1,670
thread by: Yannick Turgeon | last post Jul 16 '05 by: Yannick Turgeon
Hello all, I have a web page in which I create a simple PNG picture in PHP. It was correctly displayed until I upgrade my PC. Now my little picture is a black square! Anyone knows the reason? I've got those two png libraries installed. Does PHP need some more to adequatly create and manage PNG pictures?
1
2,550
thread by: lawrence | last post Jul 16 '05 by: lawrence
What is the PHP equivalent of messaging, as in Java?
0
1,770
thread by: Eric Haskins | last post Jul 16 '05 by: Eric Haskins
Ok I am trying to get these loops figured out I have 10 files being uploaded- $_FILES I need to run str_replace on all 10 to eliminate any oddities " ","%20" to clean up the filenames before inserting names in db. foreach ($_FILES as $n) { $name=$n str_replace( " ", "",$name)
1
5,703
thread by: ratlhead | last post Jul 16 '05 by: Richard Hockey
Hey all, I've provided a form for a client of the company I work for that basically emails the form data to an email address. Only a couple of the many fields are required...nothing too fancy. However, the sys admin has made the following request: "All fields, not just the required fields, need validation for syntax, shell escape...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.