473,544 Members | 420 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.
 
2
3,969
thread by: James Butler | last post Jul 16 '05 by: James Butler
Setup: Red Hat Linux 8.0 Apache 1.3.27 PHP 4.3.2 Sendmail 8.11.6 Other Info: root:root /var/spool/mail root:root /var/spool/mqueue Apache running as nobody:nobody
7
4,053
thread by: Phil Powell | last post Jul 16 '05 by: Pedro
I am having this problem: My PHP script will set a cookie, it's there in my /Cookies folder. I delete the cookie (I have to for testing purposes, the PHP script I run behaves according to this cookie existing or not) and run the script again. Everything runs fine, but the cookie is never set again. Does anyone know why this happens? I am...
3
2,156
thread by: rk | last post Jul 16 '05 by: Dirk Engels
I have a php script, I post a form to it. I check the data, then I want to display a thank you page and do a Header("Location: http://file.zip"); How do I redirect to the thank you and do the Header("Location:... in the same php script???????? Some, guys say in related threads that the double redirect isn't needed 'cause you won't see the...
5
2,312
thread by: The Plankmeister | last post Jul 16 '05 by: Michiel
Is it possible to access a function in a php document through a URL? For instance: http://www.somesiteorother.com/test.php?a_function And then have something like this in test.php: <?php function a_function() {echo "Hello!";}
2
2,841
thread by: Lance | last post Jul 16 '05 by: Andy Hassall
is there a workaround for rows with null values not being returned? I am using PHP 4.3.2 and mysql. the mysql_fetch_array just seems to ignore some of the latest rows with null values.
1
1,699
thread by: nic den | last post Jul 16 '05 by:
Hi, I'm getting emails from an address trough a script and I want to copy the attached files on the server. I can get the files and copy them on the server (trough the function below) BUT the files are not valid (images cannot be displayed) how can I solve this? ------------------------------------------ function...
0
1,936
thread by: patje | last post Jul 16 '05 by: patje
I installed phorum (http://phorum.org) on my local machine and everything works fine with http://localhost. But I want to integrate phorum on a specific webpage on the web. Therefor some things have to be done. (1) the page where the php-script will be placed must have the extension .php so that the webserver can recognize the script; (2)...
0
2,138
thread by: patje | last post Jul 16 '05 by: patje
I installed phorum (http://phorum.org) on my local machine and everything works fine with http://localhost. But I want to integrate phorum on a specific webpage on the web. Therefor some things have to be done. (1) the page where the php-script will be placed must have the extension .php so that the webserver can recognize the script; (2)...
13
7,580
thread by: Mhaxx | last post Jul 16 '05 by: Mhaxx
Is there a way to retrieve IP address behind a proxy? Mhaxx
16
11,286
thread by: Phil Powell | last post Jul 16 '05 by: Janwillem Borleffs
Fourth attempt.. it fails now in login, I check by printing $_COOKIE and there is no value there! Guys, what on earth do I do about this???? Here is the code that sets the cookie: if ($hasLoggedIn && ($row = mysql_fetch_row($query))) { setcookie('nordicnet_registration', $row, 0, '/'); @mysql_free_result($query);
9
3,306
thread by: DJ Dev | last post Jul 16 '05 by: Dai Ichi
Hi All, I have to build a web application for my project. This web application will be basically calling some functions written in C/C++. Basically, the process involves getting user input file, passing the file information to the C/C++ function, Getting the result from C/C++ function etc. Ultimate aim will be to create a web service using...
6
4,969
thread by: Rudi Ahlers | last post Jul 16 '05 by: Rudi Ahlers
I tried the following: http://intranet/signup.php?Domain=newdomain.com, and it doesn't seem to return any values In my script I have the following: <? print $_POST; $DomainName = $_POST; print $DomainName;
5
4,094
thread by: Phil Powell | last post Jul 16 '05 by: Phil Powell
loggout.php doesn't exactly redirect properly, and I have no idea what to do about it... I need to bust out of the frame and go to top, so, how do I do it? Code that I have that fails: <? require_once('/home/nordicnet.no/include/nordicnet_global_vars_functions.php
7
7,809
thread by: Mark | last post Jul 16 '05 by: Nikolai Chuvakhin
Hi all, Im trying to duplicate this ASP code in PHP. Basically its a form of 10 records pulled from an MySQL table. The form lets the user update all 10 records at once if they want to. Each text box I name using the ID of the database record and the Database Field. Example: 3|Name (3 is the ID and Name is the database field)
1
2,025
thread by: EthanStyle | last post Jul 16 '05 by: Randell D.
are there any plans to increase the amount of information you can get out of http_ calls in a script to get data from your visiors. are there already function calls for every component of the header? thanks, robt. http://www.techbomb.com/
1
2,051
thread by: ÃÖ¼±È£ | last post Jul 16 '05 by: Thomas Mlynarczyk
I'm a begginer using IIS(win2000server)+PHP+MySQL, I make very simple codes, one html and three php files communiace.html connect.php read.php write.php and I pass the variables within codes by form with "method=post" .
3
4,189
thread by: Phil W | last post Jul 16 '05 by: Phil W
Hi, I'm a bit of a newbie to PHP and mySQL. I'm trying to get things running on my W2K machine. I'm having a problem using the mysql_connect() function (although the problem's probably rooted in mysql). When trying to log in via PHP with the code "$link = mysql_connect("localhost", "phil", "pwpass123");" I get the error... Warning:...
3
3,588
thread by: Andrew | last post Jul 16 '05 by: Andy Hassall
I have a problem creating mySQL tables with PHP. I am making an app where a user can create a project. Pressing "submit" on proj_form.php goes to proj_add.php where a couple of things happen. The project's meta information is put into a project table, mysql_insert_id() gets the $proj_ID, and a table named that $proj_ID is created to hold...
2
1,774
thread by: Ralph Freshour | last post Jul 16 '05 by: Ralph Freshour
I create a web page in PHP (pulling data out of MySQL, etc.) - anyway, the page is about 2 to 3 pages long and when it's done rendering, the position of the page is at the bottom - what command can I use with PHP to cause the page to reset back to the top? Thanks...
3
5,851
thread by: Carlos Marangon | last post Jul 16 '05 by: Hacksaw
Hello! I need some help. How can I recall the last 5 rows from a MySQL table and show them? Where is the FAQs of this newsgroup? Sincerely,
1
2,289
thread by: Joshua Ruppert | last post Jul 16 '05 by: Joshua Ruppert
Has anyone experienced random incomplete HTTP header errors? It seems to happen randomly, say 1 in 100 page loads but that is just the ones I see. I'm running version 4.2.3. Any help would be greatly appreciated. Josh
0
1,348
thread by: Mike Johnston | last post Jul 16 '05 by: Mike Johnston
Hi, Which is the correct newsgroup to post questions on upgrading RedHat 9.0 to the latest PHP? Thanks Mike Johnston
2
2,191
thread by: René | last post Jul 16 '05 by: Jason Dumler
Hello, My example: $person->telnumber->value $person->faxnumber->value $person->??? The names of the objects "telnumber" and "faxnumber" (and further possible subobjects) are not known for me.
2
1,911
thread by: Tole | last post Jul 16 '05 by: Why?
hi all, i have some doubts in passing variables by references in php. i usually use class blah { function Params( &$params) { $this->params =& $params; } }
6
2,644
thread by: Pierre Jelenc | last post Jul 16 '05 by: Pierre Jelenc
I have a file upload set up from a form, which works fine with small files (6k) but fails silently with larger ones (16k and up). The form has: <input type="hidden" name="MAX_FILE_SIZE" value="1000000"> and the script handling the uploads has: set_time_limit(3000); // no difference with set_time_limit(0)

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.