473,749 Members | 2,411 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
1,971
thread by: Paul Goodley | last post Oct 23 '05 by: Ian B
Typically, shopping carts add a single item at a time, so it's easy to prompt the user for information needed for the order, but what if the shopping cart needs to process thirty items at once? I am working on a shopping cart for a wholesale project and have run into trouble. Retailers log into the site, click a link to take them to the...
15
1,936
thread by: NurAzije | last post Oct 23 '05 by: NurAzije
I have written a code and can't figure what is wrong, the code will read a content of a file and cut all the emails from it,then echo them, but I have a problem with '"' charecter I think.. Take a look: **************************** <?php $url="http://www.bihstudenti.com/kontakt.php"; $lines = file_get_contents($url);...
2
1,314
thread by: elyob | last post Oct 23 '05 by: elyob
I think I've done it all .. extension_dir = "C:\PHP\exts\" extension=php_mysql.dll It's there. I get the error .. "PHP startup: Unable to load dynamic library 'C:\PHP\exts\php_mysql.dll' - The specified procedure could not be found." As far as I can see, it's all fine. I'm confused.
1
1,926
thread by: KC | last post Oct 23 '05 by: Malcolm Dew-Jones
Hi, I have a web page contain Chinese characters (charset big5). If I name the page as mypage.html.big5 or mypage.big5.html then the browser can identify the charset automatically. However, if I add "<?php echo <<<END ...mydoc here ... END; ?>" and name my page as mypage.php.big5 or mypage.big5.php ... well it doesn't work.
2
1,364
thread by: forumadmin | last post Oct 23 '05 by: Joe Molloy
Hello, Im looking for experienced people to work on my portal. Portal theme is electronic curency investing. Portal is in early stage of development so I cant provide you any pay, but in future you will get pay by earned percentage of portal. If you have free time and you are interested in this project please contact me. Best regards,...
2
2,460
thread by: totoscarantino | last post Oct 23 '05 by: Tim Roberts
hi guys..im a really noob fresh starting php programmer:P but i need really to solve this problem witha php script: I can rent a flat from 01/01/90 to 01/01/2011 ill rent that flat for a time that i will choice from that timeline above, so ie I could rent that flat from 01/15/93 to 01/15/95. well at this point i need to know how mani...
2
1,403
thread by: Ian Davies | last post Oct 23 '05 by: Ian Davies
Hello (Again) I am trying to insert recordes into two tables with the following code. But field UserId in table tOrders and field OrderID in table tOrderItem are not updating only the default value 0 is being saved into the records. I have been pondering this one all day. I expect as I am new to php I am missing something obvious but I...
1
1,757
thread by: Brian Walowitz | last post Oct 22 '05 by: rollingS
Hello: I am in need of a script or that will allows users to present feedback to me and then post it to my testimonial page. My web hosting supports mysql, php, cgi, and perl. If anyone can help me please contact me thought this group or my email brian@cpuwiz.net. Thanks Brian brian@cpuwiz.net
4
3,727
thread by: el_roachmeister | last post Oct 22 '05 by: el_roachmeister
I suspect there might be an infinite loop in my code, however, php seems to timeout and continue running the script. Is there a way to check for this?
1
1,262
thread by: Raj | last post Oct 22 '05 by: Janwillem Borleffs
Hi, I have a db connect script running in an include file with buffering. Does anyone know if there are restrictions for this? It seems to work with a smaller amount of code to be buffered. Is there some sort of limit for buffering (i.e using ob_start () ... ob_end_flush()). The thing is, everything else seems to work. Why does the db...
4
1,893
thread by: kurt.krueckeberg | last post Oct 22 '05 by: DarkAngel
I am considering going with the ISP Dreamhost because they offers both php4 and php5 support. However, I recently learned php4 runs as a regular CGI by default. This can be change, so it will runs as an Apache module. But if you want to run php5, you must run as PHP-CGI. Dreamhost states there are: "There are a FEW VERY MINOR drawbacks to...
2
3,803
thread by: Dave Smithz | last post Oct 22 '05 by: Dave Smithz
Hi There, I have developed a php application for a client that uses the excellent class.phpmailer.php. However, the client has requested that when they get back bounce back emails from people in their database who no longer have the same address. They want these emails to bounce back to a different address? Is it possible to set this...
0
1,183
thread by: wijaja_anton001 | last post Oct 22 '05 by: wijaja_anton001
Electronic postcard just like paper postcard www.myepostcard.com
1
1,425
thread by: webguynow | last post Oct 22 '05 by: Andy Hassall
I've got one computer in a remote-location without Internet access and I'd like to get some Pear Pkgs installed on it. What happens during the "pear install" process ? Is an Inet connection absolutely neccessary or could I get the modules first, and install on this offline machine ? If I remember right, there's a tar process, even for...
2
1,350
thread by: siliconmike | last post Oct 22 '05 by: Iván Sánchez Ortega
pseudocode: function generate_unique_id() { mkdir("lock"); if successful { $id = 10 digit random number; make sure that $id does not exist in our table
1
1,329
thread by: siliconmike | last post Oct 22 '05 by: Botan Guner
I'm using apache+php I'm trying to understand how various timeouts work and where are the settings.. Lets say a web browser requests page index.php which does some long processing. When would the web browser time out ? When would apache time out ? Where are the settings ? When would php time out ? Where are the settings ?
1
1,231
thread by: ashwani80 | last post Oct 22 '05 by: Malcolm Dew-Jones
I require suggestions on how to get friends in the group to communicate about the programming in .net and php etc.
9
2,317
thread by: starbuck | last post Oct 21 '05 by: scott Johnson
Hi, have a form, with a text input "fieldname". method POST $var = $_POST $var is then used to search in mysql select * from table where jobtype like '$var%'
2
3,150
thread by: bissatch | last post Oct 21 '05 by: John Dunlop
I am trying to compare two variable but using regular expression: $access = "glasgow" $areaid = "glasgow-westend-byers_rd" using the two variables, I would like the areaid variable to be compared with the access variable. the regular expression function will return true if $access matches the start of $areaid. So the two above would...
3
2,103
thread by: dalyian39 | last post Oct 21 '05 by: John Dunlop
Hello, I'm pretty new to PHP but I have a page, B.php, which runs fine, but I want to be able to call this as B (long story), i.e. http://mysite/B?foo=bar should be equivalent to calling http://mysite/B.php?foo=bar. I've tried creating a symlink on the filesystem B -> B.php but that just sends the text content of the B.php file itself...
2
2,532
thread by: Robizzle | last post Oct 21 '05 by: f3l_
I've been working on some php scripts that I want to release under the GPL and I'm looking for the best way to share the code with everyone. I always liked websites that had a <textfield> and put the source into the field, it allowed for easy copy and pasting as well as the ability to read the code without having to download a file, save it...
2
2,030
thread by: David Haynes | last post Oct 21 '05 by: David Haynes
If I do $conn = new msqli(...); do I automatically get persistent connections? If not, how do I get them? Fall back to pconnect()? -david-
2
2,370
thread by: NurAzije | last post Oct 21 '05 by: Philip Ronan
I am trying to make afunction to get information from one file and print it or put it in an array, the problem in headers I can't figure that it is giving me this: ******** HTTP/1.1 400 Bad Request Date: Fri, 21 Oct 2005 14:48:06 GMT Server: Apache Connection: close Content-Type: text/html; charset=iso-8859-1 Bad Request Your browser sent a...
6
1,905
thread by: Puzzled | last post Oct 21 '05 by: Jerry Stuckle
This is a weird problem, but perhaps someone else has seen it before (I hope!) If I use a fully qualified include call include ( 'http://localhost/subtree/filename.php') I get an 'undefined function' error when calling a routine that's defined in that file.
10
2,228
thread by: MikeSoja | last post Oct 21 '05 by: MikeSoja
For months I've been using... $fp = fopen("http://www.weather.gov/data/current_obs/KPKB.xml","r"); .... to open the xml file, which I then parse to extract the local weather data, and it has worked swell. Just lately, the page has started hanging, and by blocking off sections of code and timing different sections I've traced the delay...

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.