473,543 Members | 1,897 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.
2
2,457
thread by: Cliff Roman | last post Jul 16 '05 by: Cliff Roman
I have been trying to find the answer on the postnuke forums and I have even tried Sitepoint but I am unable to find an answer. So now I am asking here in hopes that someone may have an idea I am trying to put a query in a PHP block. However, when I do.. the block dissapears. I will try to explain better..
7
3,935
thread by: Paul Liversidge | last post Jul 16 '05 by: Paul Liversidge
I'd like your opinions as to why I don't use something like this... A function that iterates through $_GET, $_POST, $_COOKIES and $_SESSION arrays and turn them back into conventional variables. I already have chunks of code at the top of some pages, particularly large forms that look something like this... $id = isset ($_GET) ? $_GET :...
1
1,776
thread by: Bert Melis | last post Jul 16 '05 by: s a n j a y
When a user clicks on a link on my page that points to a non-existing page he will be redirected to error/404.php (by .htaccess) How can I find the link that he was trying to follow, and the page on which that link was. If a user entered a non-existing url he will also be redirected but then only the wrong url can be fetched. How can I...
5
3,043
thread by: entoone | last post Jul 16 '05 by: entoone
I am having problems with using md5 with a password. I am able to set the password with the md5 coverting what I type into say.. "a87ff679a2f3e71" I'm writing to the db with the password and the condition by using -------- pword=md5('$ud_pword') I am having a problem reading the value from the db after it's set. I use a
3
59,566
thread by: Ross | last post Jul 16 '05 by: Ross
Building a simple PHP/MySQL database interface. All SELECT queries return: "Resource id #2" What is this Resource id? Is there a list of them described somewhere? Looked all over php.net Many thanks! -Ross
2
1,863
thread by: Bert | last post Jul 16 '05 by: Jeffrey Silverman
Hi, Can anybody see anything wrong with this: <-- snip --> // some other ifs and elseifs that seem to work okay elseif ($CH_address_same != 1) { if ($PayMethod == "credit" && empty($CH_Address1)
3
2,136
thread by: Jeffrey Silverman | last post Jul 16 '05 by: Jeffrey Silverman
Hi all, a request for opinions, please. I am designing a smallish application to manage members of several committees of a particula Organization. The structure of the system is as follows: theOrganization contains Committees which in turn contain People So theOrganization object is a list of Committee objects which are
1
6,226
thread by: Jerry T | last post Jul 16 '05 by: Nikolai Chuvakhin
How can I backup and restore a MySQL DB WITHOUT USING EXEC() MYSQL MYSQLDUMP ?? If I try running exec() and mysqldump, I get Fork warning errors ..
0
1,898
thread by: Michael Own | last post Jul 16 '05 by: Michael Own
Hi. I've upgraded my RH 8.0 with some packages from rawhide : httpd-2.0.47-4.i386.rpm httpd-devel-2.0.47-4.i386.rpm php-4.3.2-7.i386.rpm php-devel-4.3.2-7.i386.rpm It works fine, but i cannot load any PHP dynamic library. I get errors
1
5,331
thread by: michela rossi | last post Jul 16 '05 by: Peter James
Hi, Does anyone know of a command in PHP (version 4.2.3) that can pull back the contents from a URL? E.g. <?php $remote_HTML = ServerSideGetURL("http://www.noddy.com/"); ?> Is there anything like this? Anyone know?
0
1,520
thread by: Alexander Ross | last post Jul 16 '05 by: Alexander Ross
PHP/POSTGRESQL Here's the cliff's notes version of my situation: I'm makeing a simple role playing game where users gain points by answering trivia question. They can then use their points (like skiball tickets) to attepmt certain actions. Success ot failure is based on a roll of the dice. If successfull, the users personal stats (i.e....
1
1,689
thread by: entoone | last post Jul 16 '05 by: entoone
I'm able to run the following while in php admin, but I want to be able to run this from a php page and seethe results on the screen. Any suggestions? SELECT state, count( state ) 'count' FROM contacts3 GROUP BY state ORDER BY state LIMIT 0 , 30
0
1,482
thread by: David Winter | last post Jul 16 '05 by: David Winter
I'm looking for a simple PHP-based solution that pulls a whole page or tagged snippets (something like <!-- EDITABLE>Edit me<!-- EDITABLE_OFF>) into a HTML form, allowing non-technical users to udate pages from their browser. The only "extra" required would be a simple password protection. Flypage (http://www.flypage.com) does this, but at...
1
4,855
thread by: anthonysmales | last post Jul 16 '05 by: Olexiy Merenkov
How can I get started with multithreading in PHP? I have searched google etc, but it didnt turn much up. Thanks
10
2,387
thread by: No | last post Jul 16 '05 by: Mike Vore
I have tried to understand MySQL and am afraid it is way over my head, Would someone be willing to help me out please? I have a php script that I am trying to install, in the instructions it says " You should have empty MySQL database created (create MySQL database if not)" on my hosting server I have MySQL version 3.23.56 and it...
4
6,388
thread by: Rob Allen | last post Jul 16 '05 by: Rob Allen
I've got a lookup table for a lookup table and can't work out the SQL to do a search. Can anyone help? As an example, consider the following: Table 1 - books: fields: book_id, price, title, author data: 1, 2.99, 'Life', 'A. Slug' 2, 4.99, 'The Universe', 'A. Planet'
2
2,896
thread by: Frank Pryor | last post Jul 16 '05 by: David Mackenzie
Hello, I'd appreciate suggestions as I hash out my idea. Perhaps I'm going about this the wrong way. I have users using a third party windows application. They can export data from this application directly to a text file (CSV). So far as I know, there is no way to make this application talk directly to the MySQL server. We're...
2
1,813
thread by: The Lone Wolf | last post Jul 16 '05 by: Rainer Herbst
hi, i'm new to php mysql and already have a problem with a simple routine $result=mysql_db_query(jcorp,"select count(*) as bar from users"); $count = mysql_result($result,0,"bar"); //<<<<< this is line 3 in the script echo "Active Members $count";
4
3,212
thread by: Felix Natter | last post Jul 16 '05 by: Jochen Daum
hi, I would like to lock a record so that when one user is modifying a particular record, then it is locked for all other users. For this purpose, I have two fields in every table ("LockedBy int null", which contains the UserID of the editing user and "LockedSince int not null", a timestamp). My current logic is: when the user enters...
0
1,839
thread by: Chris | last post Jul 16 '05 by: Chris
Hi, does anybody know an easy tutorial to upload files from a form via php over ftp. thanks chris
6
3,137
thread by: Sander Voerman | last post Jul 16 '05 by: Sander Voerman
Hi, I am going to make a forum using PHP. However, I have a very simple question to begin with. Is it at all possible to create input fields where users can type their messages using italic, bold, blockquotes, and the like? So far I have never witnessed it, my webmail client, for instance, only allows me to write plain text in the "new...
2
2,179
thread by: Alejandro Dubrovsky | last post Jul 16 '05 by: Joshua Ghiloni
instead of the warning message: strtotime(): Called with empty time parameter in ... Any good reason? Thanks, alejandro
1
2,926
thread by: mark v. | last post Jul 16 '05 by: Louis-Philippe Huberdeau
I am trying to write a script to take some info from a few variables and use that info to telnet to a device and run a few commands, then pipe the output to a file and name it. This would be placed into a loop and run a number of times producing a number of files. I have not been able to see if php can facilitate this. Can someone tell me how...
2
4,077
thread by: fartsniff | last post Jul 16 '05 by: Ian.H [dS]
Hello all, Been playing around with capturing the entire URL. I dont have any problems if it a file, i.e. http://www.mydomain.com/somefile.php, I am running into problems with this, http://www.mydomain.com/test This is what I use for "redirection" now (btw, it is IIS (Win2k) and PHP 4.3.2) The test.mydomain.com is setup as a host header...
1
3,322
thread by: point | last post Jul 16 '05 by: spearman
Hello there.... I would like my users on my site to be able to pay with credit cards and I need an "immediate" validation and transffer... Can anyone recommend from experience any good and affordable way?? Coding PHP is not a problem..... Respect...

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.