473,788 Members | 2,924 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
2,865
thread by: db_guy | last post Oct 14 '05 by: R. Rajesh Jeba Anbiah
Hi, we have a php-based application that is hosted by Yahoo! Webhosting. Ever since the application was created, it has been plagued by periodic session data loss. Here's a typical example: We will successfully input 7 clients into the system, but upon submitting the 8th, all session data fails to enter the MySQL database. After viewing...
1
1,895
thread by: anon | last post Oct 14 '05 by: Erwin Moller
how do i keep my $_POST data if i use something like header ("Location: processlogin.php") without using curl? -- ---------------------------------------------- Posted with NewsLeecher v3.0 Final * Binary Usenet Leeching Made Easy * http://www.newsleecher.com/?usenet ----------------------------------------------
9
18,699
thread by: fipaj1992 | last post Oct 14 '05 by: fipaj1992
Hi! I have very big problem with fsockopen() function. It is very important... That's code: <?php $test = fsockopen ('chrome.pl', '8080'); ?>
1
1,399
thread by: Mickey | last post Oct 14 '05 by: Oliver Saunders
Hi, I am writing to ask if anyone could let me know of any tutorials... I want to make an add-on for my site. What I want to do is add an instant messanger feature, where members can IM each other. Preferably, I want to implement this without adding a database table. I hope to use a combination of both PHP & Javascript. Is this a...
0
1,033
thread by: petermichaux | last post Oct 14 '05 by: petermichaux
Hi, I'd like to be convinced otherwise but I have been reading about Propel and similar packages and these packages seem like a waste of time. Quotes from the Propel site. "Propel makes applications easier to write" To use Propel there is a bunch of overhead to prepare by making an XML document describing the database. That seems like...
0
1,259
thread by: pyda001 | last post Oct 14 '05 by: pyda001
I'm trying to read rss weather feeds, but am fairly new to this. Currently I've set up Magpie RSS to read the yahoo weather feeds. So far so good. The problem is that not all fields seem to be parsed. I'm particularly interested in the "<yweather ... />" field. It just isn't there. Could it be that Magpie ignores it? I believe it mainly...
1
1,241
thread by: windandwaves | last post Oct 14 '05 by: windandwaves
Hi Folk I was just wondering if any of you are pissed off with the enormous amount of garbage out there on the net: <body leftmargin="0" right.....> </font><font blah blah></p><p></font><p></p> etc..... while all that could have been <p id="x">...</p>
5
5,904
thread by: Codeman II | last post Oct 14 '05 by: scott
Hi there, I am building a form where the user must upload a picture and fill in his details. Now I have a problem as all of this is on the same form. How will I be able to have the Browse button to open the "file browse" dialog and the Submit button to submit the form data.
0
1,712
thread by: Bill | last post Oct 13 '05 by: Bill
I've recently built a new server on which I've tried to configure and install PHP5 (I've now tried 5.0.4, 5.0.5, and 5.1.0RC1) along with Apache 1.3.33 and net-snmp 5.2.1.2. (Building PHP5 as an Apache module) Everything compiles just fine, but when I try to call any of the SNMP functions (i.e. snmpget) from a PHP script on a web page, I...
6
1,797
thread by: VAL | last post Oct 13 '05 by: phpuser32423
How can I make an application form that generates a unique number starting from 1001.?
4
3,623
thread by: C16 | last post Oct 13 '05 by: C16
Hi All I have a simple download script for files on my website and I use the code below to download the files: $fp = fopen($filename, "rb"); if ( $fp ) { $filesize = $file;
2
13,195
thread by: Robizzle | last post Oct 13 '05 by: Chuck Anderson
Sorry, I must be blind but I can't seem to find it anywhere. What function will return the time a file was created? I see filemtime(...) returns the time that file was last Modified and fileatime(...) returns the time that a file was last accessed but what about created? Tried php.net and google, nothing =(
5
2,177
thread by: comp.lang.php | last post Oct 13 '05 by: comp.lang.php
Has anyone had any luck with file zipping utilities for PHP 4-5 and Windows XP with Apache 2.0.53? Following is my code snippet: PHP Code: if ($this->isSuccessful) { // RUN ZIP COMMAND BASED UPON STRING $zipName = ($album) ? "${section}s_$album" : "${section}s"; $zipName .= '.zip';
3
1,644
thread by: thehuby | last post Oct 13 '05 by: thehuby
I have a query that looks at two tables and pulls all the data back: SELECT * FROM venues, status WHERE status_id = fk_status_id I then have a class to hold the information I want. To initialise it I get the data from the results set as per normal. The issue I have is that two fields have the field name 'name'. In SQL terms I would...
0
1,357
thread by: buttshark2004 | last post Oct 13 '05 by: buttshark2004
There seems to be character limits that only apply to mssql_select_db where the database has a fairly long name like 'FISH_STURGEON_GUPPIES_ACTIVATION' is cut down to 'FISH_STURGEON_GUPPIES_ACTIVATI' and of course fails WITH THE FOLLOWING ERROR: Warning: mssql_select_db() : message: Could not locate entry in sysdatabases for database...
0
311
thread by: buttshark2004 | last post Oct 13 '05 by: buttshark2004
There seems to be character limits that only apply to mssql_select_db where the database has a fairly long name like 'FISH_STURGEON_GUPPIES_ACTIVATION' is cut down to 'FISH_STURGEON_GUPPIES_ACTIVATI' and of course fails WITH THE FOLLOWING ERROR: Warning: mssql_select_db() : message: Could not locate entry in sysdatabases for database...
0
1,148
thread by: WhatsPHP | last post Oct 13 '05 by: WhatsPHP
Hi I have this MySql and PHP installed on the same machine. The Mysql general query log was started with mysqld --log, to log all the queries that will be received by the mysql server. This does not happen. All the queries are logged, except the ones that initiated through PHP on the same machine. Any idea what is wrong? Help !!
3
2,203
thread by: shahid.juma | last post Oct 13 '05 by: shahid.juma
Hi, I have an exe that I want to run with php. In the console, it works perfectly fine. There is a problem with security and it doesn't seem to run. I have tried the following after reading various newsgroups and websites and no luck.
1
4,906
thread by: nooy66 | last post Oct 13 '05 by: Ewoud Dronkert
I need to read value type double form my binary file. When i use Hex Workshop software read my binary file. i have data 8 bytes : hex = 3131 3131 3131 3140 string = 1111111@ Float = 2.5784852e-009 Double = 17.192157 When i use php to read file by code:
1
1,586
thread by: chhawchharia | last post Oct 13 '05 by: Niheel
i have used this code but it is not able to send mail mail("friend_saket@yahoo.com","Site Information","as");
4
2,594
thread by: Chuck Anderson | last post Oct 13 '05 by: Chuck Anderson
I use apache, Php and MySql on my Windows XP machine at home. I have been doing so successfully now for a long time. However, I am now trying to use fopen to open secure URLs (https) and having no luck. I have installed openssl and enabled the extension (phpinfo says so, too). But still it does not work. I now realize that I need to...
11
2,700
thread by: Robizzle | last post Oct 12 '05 by: Iván Sánchez Ortega
I'm having problems with an html textarea and how the input is interpreted in php. For instance, new lines aren't being carried over in my news posts. Currently this is what i'm doing: makenews.php takes form data from makenews.php and spits it out to the first file that doesn't already exist of the name template news.file.I.txt where I...
2
2,914
thread by: Eric | last post Oct 12 '05 by: Traeonna
I am looking for a breadcrumb class in PHP that does not rely on the directory structure to build the trail. I have been using Richard Baskettes - http://www.baskettcase.com/classes/breadcrumb/ - breadcrumb classes and they are great... BUT. I have a site that is being built using templates and the directory hierarchy can not be used to...
7
20,655
thread by: Tom | last post Oct 12 '05 by: Ewoud Dronkert
PHP Gurus... Can anyone give me a helping hand with this. I'm more ASP, but trying to move to PHP and sturggling a bit. I have a few products stored in a csv file created in Excel. Column 1 is the part #, column 2 is title, column 3 is color, column 4 is width and 5 is price.
2
2,352
thread by: Harry Haller | last post Oct 12 '05 by: BKDotCom
Why does the following work: // (1) Set new cookies setcookie ("font_type", $type_sel, time()+3600); setcookie ("font_size", $size_sel, time()+3600); // (1) Get most recent cookie $font_type = $_COOKIE; $font_size = $_COOKIE; if (isset($font_type) && isset($font_size)) echo "Found Cookies<br>\n";

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.