473,768 Members | 2,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP Forum

PHP web programming language - Ask questions about php scripting, databases, mysql, templates, PEAR, php functions, PHP-GTK, setup and installation, object oriented programming, classes, files, security, sessions, arrays and more.
7
10,152
thread by: Xerxes | last post Jul 16 '05 by: Joshua Ghiloni
Hi, I have a link in my page that allows users to download an exe file. However, when I download and run it, it briefly displays the DOS box and nothing happens. In my php file, I have: header("Content-Type: application/octet-stream"); header("Content-Disposition: atachment; filename=$filename"); header("Content-Length:...
4
3,363
thread by: James | last post Jul 16 '05 by: Roger
I have a from with 2 fields: Company & Name Depening which is completed, one of the following queries will be run: if($Company){ $query = "Select C* From tblsample Where ID = $Company Order By Company ASC";
0
2,894
thread by: Verizon | last post Jul 16 '05 by: Verizon
Has anybody ever heard of support for the book: "Secure PHP Development" by: Mohammed J. Kabir I'm trying to run one of his PHP solutions called "Web Forms Manager" I haven't been able to get it up and running. Thanks in advance!
0
3,085
thread by: FreeStyle | last post Jul 16 '05 by: FreeStyle
Hi everybody, I'm using phpMyAdmin 2.2.6 with EasyPHP v.1.6.0.0 I wrote a php script which uses a username (added in the mysql base with phpMyAdmin). This user has no privileges. But in the script, I have the following request for the same username : INSERT TO table (...) VALUES (....) And it's working !!! The user can insert new rows with...
1
2,747
thread by: Me Here | last post Jul 16 '05 by: RR
I am a PHP newbie who has to get something online quickly. I need to put a Community online with preferably all of the following: Groups/Forums - Different Community interest groups - Group Administrators - Group Homepage Articles Comments for Articles Documents for articles Forums
0
3,145
thread by: Alexander Riegel | last post Jul 16 '05 by: Alexander Riegel
Is there a PHP command to list the drives of the Server. Or should I check each letter from a...z if it exists? thanks
0
2,847
thread by: AK | last post Jul 16 '05 by: AK
Hi all, I have a form which simulates a form collecting a person's info for a job. The form has the field's like fname, lname, address etc. The last field in the form is browse for resume and upload it. What I did until now is, I am inserting all the data other than the resume into a table and storing the resumes in a seperate directory. My...
1
4,101
thread by: Chris | last post Jul 16 '05 by: Andy Hassall
Sorry to post so much code all at once but I'm banging my head against the wall trying to get this to work! Does anyone have any idea where I'm going wrong? Thanks in advance and sorry again for adding so much code... <TABLE border="1" bordercolor="#000000" cellspacing="0"> <TR>
0
3,267
thread by: Frank de Bot | last post Jul 16 '05 by: Frank de Bot
Hi, Can anyone give me an example of the setup of FastCGI with php (with apache). There are some good instruction how to do it with a Zeus webserver, but none with apache. Thanks in advanced, Frank de Bot
1
24,486
thread by: Roy Starkey | last post Jul 16 '05 by: Andy Hassall
Is there a way to access the raw data sent to a PHP app via POST? I'm trying to read the XML sent by a Flash program with XML.send() and its sent via POST but not URL encoded. PHP is expecting URL encoding so it comes in like: $_POST = '"1.0"?>' Perl can read it just fine like so: read (STDIN, $rawpost, $ENV{'CONTENT_LENGTH'});
0
4,452
thread by: Pierre Jelenc | last post Jul 16 '05 by: Pierre Jelenc
I have installed Apache, PHP, and MySQL running locally, on localhost. I now am trying to install phpMyAdmin, but I'm running into a problem: when I run http://localhost/phpMyAdmin/index.php (with "root", no password at this time) after customizing config.inc.php, I get a blank page. The source code shows that the expected frames are there,...
5
8,203
thread by: elyob | last post Jul 16 '05 by: elyob
I've got a list of towns in a MySQL database, which I currently pull from the database ... e.g. http://www.local-hotel.com/townsall/AU/ I now want to put a etc menu at the top, which will click to the start of the towns with that letter using index.html#A .... I am guessing that the best way would be to simply compare the first letter of...
0
3,261
thread by: Marin | last post Jul 16 '05 by: Marin
Hello. For a while I was developing a site with Apache + PHP + MySQL and, because I hadn't put the php.ini in the right place, php was just using its default settings. During this time mysql was running fine. Recently I put the php.ini file in the right place and since then mysql thrashes the disk intensely during a query, even for really...
1
7,807
thread by: AmigaLemming | last post Jul 16 '05 by: hex kid
As I understand my admins installed a PHP server and now my plain HTML pages also want to set a PHPSESSID cookie when loaded into a browser. Can I suppress this, e.g. by creating a configuration file like ..htaccess somewhere in my public_html directory? Is it possible to disable the setting of PHPSESSID cookies for plain HTML pages in...
2
31,440
thread by: Jack | last post Jul 16 '05 by: Jack
Hi All, What is the PHP equivilent of Oracle bind variables in a SQL statement, e.g. select x from y where z=:parameter Which in asp/jsp would be followed by some statements to bind a value to :parameter I dont like the idea of making the SQL statement on the fly without binding parameters as I dont want a highly polluted SQL cache.
3
10,016
thread by: Robert Blaha | last post Jul 16 '05 by: Robert Blaha
Hi, I'm runnig Linux/Mandrake9.0-Dolphin and try to update Apache 2.0.46 and PHP 4.3.2. Apache is OK bu with PHP I've problem. I unpacked distribution, run ../configure > configure.vysl, make > make.vysl and make install. When I search in configure.vysl or make.vysl there is nothing about libphp4.so.
0
4,601
thread by: php_xml | last post Jul 16 '05 by: php_xml
I have some japanese utf-8 files, translated from english.. how to read it use php program?
3
4,649
thread by: Albert Ahtenberg | last post Jul 16 '05 by: Jochen Daum
Hello, I had some bad experience with code organization and script functionality in writing my php based applications. And as the applications get bigger in scale it gets even worse. Therefore, I am trying to build a general schema for data flow in a php/mysql application. What I has in mind is to design a three major units. To handle the...
2
9,421
thread by: Xerxes | last post Jul 16 '05 by: R. Rajesh Jeba Anbiah
Hi, is there any script to authenticate an email address entered in a form field? I used the php mail() function, using the following (where my email field on the form is called "email"): $email = explode('@',$email); $mailhost = $email; $mailhost=$mailhost.".";
2
3,237
thread by: J-P | last post Jul 16 '05 by: J-P
Hi all, I'm getting a strange result with the following IF statement: $bar = ($foo == 'last') ? true : false; In my script $foo normaly has a integer value greater than 0, but can have last as value. But whatever value of $foo $bar always becomes true. When I use the regular if {....}else{....} I get the same result, always $bar...
0
3,497
thread by: djdaz | last post Jul 16 '05 by: djdaz
Hi Is it possible to add information (username + password) into a cookie so that i can get to that information when it is required, eg somebody logs on, and on every page for that information in the cookie? i would use mysql but blueyonder dont support it. Thanks
1
6,859
thread by: inderjit S Gabrie | last post Jul 16 '05 by: RG
Hi all Here is the scenerio ...is it possibly to do this... i am getting valid course dates output on to a web which i have designed ....all is okay so far , look at the following web url http://www.mis.gla.ac.uk/biquery/training/ but each of the courses held have maximum of 8 people that could be
3
23,033
thread by: James | last post Jul 16 '05 by: The Script Smiths - PHP/PERL Developers
Hi, I have a form with 2 fields. 'A' 'B' The user completes one of the fields and the form is submitted. On the results page I want to run a query, but this will change subject to which field is completed.
3
11,240
thread by: William C. White | last post Jul 16 '05 by: R. Rajesh Jeba Anbiah
Does anyone know of a way to use PHP /w Authorize.net AIM without using cURL? Our website is hosted on a shared drive and the webhost company doesn't installed additional software (such as cURL) on the server because of that. Our site will have an SSL certificate next week, so I would like to use AIM instead of SIM, however, I don't know how...
0
8,491
thread by: Ollivier Robert | last post Jul 16 '05 by: Ollivier Robert
Hello, I'm trying to link PHP with Oracle 9.2.0/OCI8 with gcc 3.2.3 on a Solaris9 system. The link succeeds but everytime I try to run php, I get a SEGV from inside the libcnltsh.so library. 354 roberto@ausone:Build/php-4.3.2> ldd /opt/php4/bin/php libsablot.so.0 => /usr/local/lib/libsablot.so.0 libstdc++.so.5 => ...

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.