473,566 Members | 3,102 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.
1
25,192
Markus
thread by: Markus | last post May 31 '10 by: Dormilich
Before you post please: Turn on PHP Debugging Messages - this will help yourself and our experts to solve your problem. Please provide the error details in your post. Read the Posting Guidelines. Some of the main posting guidelines we would like you to follow when posting (in brief): Pick a good thread title -
3
11,190
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...
2
5,787
thread by: Albert Ahtenberg | last post Sep 14 '07 by: Michael Fesser
Hello, I don't know if it is only me but I was sure that header("Location:url") redirects the browser instantly to URL, or at least stops the execution of the code. But appearantely it continues to execute the code until the browser send his reply to the header instruction. So an exit(); after each redirection won't hurt at all
3
22,980
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.
0
8,452
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 => ...
1
8,556
thread by: Richard Galli | last post Jul 18 '06 by: ronverdonk
I want viewers to compare state laws on a single subject. Imagine a three-column table with a drop-down box on the top. A viewer selects a state from the list, and that state's text fills the column below. The viewer can select states from the drop down lists above the other two columns as well. If the viewer selects only one, only one...
4
18,229
thread by: Albert Ahtenberg | last post Sep 14 '07 by: Tyno Gendo
Hello, I have two questions. 1. When the user presses the back button and returns to a form he filled the form is reseted. How do I leave there the values he inserted? 2. When the user comes back to a page where he had a submitted POST data the browser keeps telling that the data has expired and asks if repost. How to avoid...
1
6,790
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
2
31,359
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
23,548
thread by: Sandwick | last post Jul 16 '05 by: Shawn Wilson
I am trying to change the size of a drawing so they are all 3x3. the script below is what i was trying to use to cut it in half ... I get errors. I can display the normal picture but not the results of the picture half the size. The PHP I have installed support 1.62 or higher. And all I would like to do is take and image and make it fit a...
0
3,480
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
2
9,406
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,226
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...
3
9,995
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.
3
4,625
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...
3
45,031
thread by: Randell D. | last post Jul 16 '05 by: ViperDK
Folks, I use md5 hash with some of my cookies and occassionally a hidden form field - I know the physical data on my network is insecure (unless being served via https) but I was wondering if there are any advantages to using md5 over sha1 or versa vicea... I know md5 gives me a unique 32bit hash while sha1 I've read is 'secure' (?) and...
0
4,584
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?
2
2,893
thread by: eowyn | last post Jul 16 '05 by: Chris Krasnichuk
Hi everyone! I've installed Apache + PHP. When I try to access a PHP script file via my browser, i get the typical message to open it in an editor or to save it in my computer, instead of open de file in the browser. Can anybody give me a solution? Thanks.
4
6,737
thread by: David Walker | last post Jul 16 '05 by: Pedro
Hi I have a Microsoft SQL database I can use (also mySQL, so if you know how to do this in mySQL that is just as useful). The database can only be accessed from webpages hosted on the same server as the SQL database because of firewalling. The database admin doesn't mind me accessing it like this if I can do it, and they would allow me if...
1
7,725
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...
5
8,192
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...
7
10,137
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:...
0
3,252
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...
5
11,895
thread by: Albert Ahtenberg | last post Jul 16 '05 by: Pedro
Hi, I have a database with a date field. And I would like to see the report grouped by a ceratin month and year, how can I do that without multiple queries? Albert Ahtenberg
1
24,459
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,428
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,...

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.