Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
comp . lang . php
This is a Usenet group - learn more
Find or start a Google Group about php.
Group info
Language: English
Group categories:
Computers > Programming
More group info »
Related Groups
Discussion of php, server side scripting.
Medium activity, Usenet
Discussion of PHP scripting
Low activity, Usenet
Netscape Communications Corp.'s JavaScript language.
High activity, Usenet
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 36526  Older »
Description: PHP, server side scripting.
 

Redirect Back Button 
  Hi, I'm looking to change the location of where the page goes when someone hits the back button. I have a page which the user fills out a form, hits SUBMIT. It does it's PHP thing, sends me the info, and then puts up a confirmation page with a link to another page. At that point, if the user hits the... more »
By The Magnet  - Nov 7 - 3 new of 3 messages    

Command line scripting broken since version 5.2.10 of php 
  Php can be used not only with web servers but also for stand alone command line scripts. However, this functionality seems broken since version 5.2.10. Maybe my problem in part or fully depends on my installed platform which is Slackware 12.0. Maybe the problem is not php itself but how php was built. However, if the error lies within Slackware or how the... more »
By Henrik Carlqvist  - Nov 7 - 3 new of 3 messages    

Yahoo Web hosting doesn't allow php classes? 
  Hi There- I've created a script that includes a class. It works in xampp but not in my yahoo webspace. Does this have anything to do with 'register_globals' being turned off? My code is very simple and not specific to php 4 or 5, I am just creating and using a class. view code: [link]... more »
By Leoa  - Nov 7 - 12 new of 12 messages    

Is it possible to have mutable-in-place (associative-)array objects in PHP? 
  <?php $countries = array(); $states = array(); $countries['USA'] = $states; $provinces = array(); $countries['Canada'] = $provinces; echo "Before: "; print_r($countries); $states['CA'] = 'California'; $states['OR'] = 'Oregon'; $provinces['BC'] = 'British Columbia'; echo "<br>States: "; print_r($states);... more »
By Robert Maas, http://tinyurl.com/uh3t  - Nov 7 - 5 new of 5 messages    

problem sending email with PHPMailer 
  Hello, I wrote a program using PHPMailer. The problem is that email is not sent. In include folder I put two packages: class.phpmailer.php and class.smtp.php. require_once '../include/class.phpmailer.ph p'; ... function sendEmailFromOferty($fullAnnou ncementNo, $announcement, $recipients) { global $db, $websiteRoot;... more »
By Jivanmukta  - Nov 7 - 7 new of 7 messages    

A question about header()? 
  All of the examples I've seen use header to relad the current page or an entirely new page. Can it be used in a frame environment to cause a page to be loaded into a different frame? If so, how do I specify the particular frame as well as page? (The particular application I have in mind has the user chase down a... more »
By John Kopf  - Nov 7 - 2 new of 2 messages    

A regex using word boundaries (\b) is driving me nuts ... any takers? 
  Hi, The following code outputs nothing, and after reading all the docs I can still don't understand why. Can anyone explain why word boundaries before the $ don't seem to be matching? Cheers, Jo <?php $applePrice = '$5 per bunch'; $orangePrice = 'One bag $2'; $pattern = '/\b\\$/is'; if (preg_match($pattern, $applePrice))... more »
By Jo Jo S  - Nov 6 - 4 new of 4 messages    

Programmatic approach to string construction 
  Hello I am looking for some opinions or practical approach to constructing a string programmatically. What I am doing is taking a boat load of post variables and assembling an sql statement for insert(replace). The needed post variables have the following data. $_POST['id-(integer of item matching DB id)'] = (value to insert)... more »
By Scott Johnson  - Nov 5 - 15 new of 15 messages    

Anyone Have Experience with IPV6, Apache, and PHP 
  What format is the IP address in as Apache passes it to PHP? I'm writing a web-based application that will do some basic IP security checks (to be sure that the session hasn't shifted IP too badly), etc., but hard to plan for IPV6 if I don't know what a typical string will be like. With IPV4, it is just n.n.n.n.... more »
By Datesfat Chicks  - Nov 5 - 14 new of 14 messages    

"10.98" from MySQL shows up as "10.9799995422" in PHP - why? 
  Hi, This is the first time I am facing this problem and can't figure out WHY is it when I pull data from MySQL, instead of 10.98 from a certain cell, PHP shows "10.9799995422". The cell stores data as a "float" in MySQL. Here is what I do...: $stmt = mysqli_prepare($mysql_db, "SELECT `products`.`price`............ ..........<blah blah>")... more »
By Mark Livingstone  - Nov 5 - 43 new of 43 messages    

1 - 10 of 36526   « Newer | Older »

XML      
Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google