473,799 Members | 3,858 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
3,175
thread by: www.douglassdavis.com | last post Aug 19 '05 by: Colin McKinnon
I once saw a web page where you could fill out a form, and the page would create the php code for a form according to what you had filled out. So, for example, you could say I want a form with name and address, and it would write the correct PHP code for you. I have not been able to find it since. Does any one know where this is online?...
4
1,807
md5
thread by: Greger | last post Aug 18 '05 by: Dimitry Rybkin
Hi all, Im quite comfortable with php but new to encryption, could someone please highlight when encryption would be a good thing. Also:is there a reverse of the md5 function? ( in other words in what way is md5 ( + the others sha...)used? -- http://www.gregerhaga.net
1
1,161
thread by: CAH | last post Aug 18 '05 by: Andy Hassall
Hi Why does this not work? if (!$artnr) { include "./smalltable.php"; } else { include "./bigtable.php"; }
3
1,723
thread by: braders00 | last post Aug 18 '05 by: braders00
Dear All, I would like to run a script on a daily basis that queries a DATE field in one of my tables. I want to do this to establish the age of my table entry by comparing with the current date. Could someone please give me a few pointers on how to get started in solving this. I just read somewhere about cron jobs but I've never used...
5
1,706
thread by: skinnybloke | last post Aug 18 '05 by: skinnybloke
Hi I am trying to do something with PHP and having problems - a bit of a a PHP novice I'm afraid. What I am trying to achieve is to display the alphabet and numbers 0-9 on a web page. I want the letters/numbers to be clickable to specific web pages if there are companies on my database that start with that letter. If they are not on the...
0
1,758
thread by: Sjaakie | last post Aug 18 '05 by: Sjaakie
Hi there, I'm trying to get HTML_ToPDF (3.3) running on en dedicated server, safe_mode enabled. Been trying for more than 2 days now, without success. Have similar script running on my own personal server. Safe mode disabled. This is what I did so far: --- I copied html2ps, ps2pdf and curl into...
4
2,296
thread by: werdna.sivad | last post Aug 18 '05 by: Tim Van Wassenhove
In PHP I need to be able to execute another script from inside another and catch the output. How do I do this? The require() and include() functions will execute a script, but it sends the output to the browser, I don't want this. I need to be able to catch the output and store it in a file or perform logic on it. I've tried doing fopen...
1
1,093
thread by: Des | last post Aug 18 '05 by: John Dunlop
I am new to php and strugling in this area. The tutorial isn't helping much I have writen a test case for checking for a valid email. http://www.des-otoole.co.uk/development/testmail.php what I want is to check for the "@" in the email. iwant to check for some charecters before this with or without a full stop. Also the tutorial calls...
15
2,340
thread by: Matt Kruse | last post Aug 18 '05 by: andreas.maurer1971
I am far from a PHP expert, and I've been struggling to create a function which will take a javascript .js file and "compact" it as much as possible. Meaning, remove all comments and unnecessary whitespace. "Obfuscation" is not necessary. Obviously, the compacted javascript should run identically to the original javascript. Can anyone point...
0
1,177
thread by: bettina | last post Aug 18 '05 by: bettina
My Website works pretty good, except when it remains some minutes open without that any click will be made. For example, I'm in breweries.php (a subpage from index.php) and I make nothing except perhaps scrolling. After around 5 minutes I want to go back to the previous page or to the following and I receive the following message: Warning:...
5
10,385
thread by: Christopher Story | last post Aug 18 '05 by: Christopher Story
I would like to query a CD / DVD DB by the ISBN number in the internet. Any Ideas? Here's more details. I have 300+ DVD's, I also have a Barcode reader... I want to scan the ISBN number and lookup the title, and other details to efficiently put them in a DB. I do not want to use commercial apps to do this, I would rather use open source...
2
1,162
thread by: julian_m | last post Aug 18 '05 by: Kenneth Downs
Excuseme if it isn't a strictly PHP related post... I've a local database (ms access) wich has all the stock information (nearly 10000 daily-changing records), and I want to keep this info on line as well (I've an PHP-mySql on-line catalog of the same products). What would be the best aproach to achieve this? I mean, this can't be done with a...
1
2,011
thread by: bissatch | last post Aug 18 '05 by: Tim Van Wassenhove
Hi, After loading an xml file, is it possible to sort it by attribute? For example, I have the following xml file: <xml... <diary> <entry date="2005-01-01">I went to the park</entry>
3
10,678
thread by: bissatch | last post Aug 17 '05 by: Kenneth Downs
Hi, I am wanting to learn how to store images in a postgreSQL database. I have got as far as uploading the file using a file/browse field on an html form and have been able to catch the file using $_FILES. What I dont know is how to to them store the image in a database. Can someone please supply the code required to do this? Also, what is...
2
17,738
thread by: Exyle | last post Aug 17 '05 by: Joachim Weiß
I have a function that has two arguents, however depending on the value of the first argument, the second one may or may not be needed. If I only input the first argument when calling the function, PHP returns a warning. many built in php functions have optional arguments, is there a way to make arguments in user defined functions optional as...
0
1,574
thread by: temp | last post Aug 17 '05 by: temp
Hi, I'm not good in regexp. TEXT: <a href="index.php">asasa</a> <a taget href='index.php'>asasas</a> I want to change only "index.php" in all occurance in a link tag.
2
2,378
wab
thread by: nop | last post Aug 17 '05 by: nop
Hi, I need to read a .wab (address book) file. any suggest? thx -- nop
2
2,310
thread by: David Cartwright | last post Aug 17 '05 by: Jasen Betts
Hi, I've got a PHP script (running on MacOS X, PHP 4.1.12) which uploads bookings from one database to another, and I'd like to have the screen show progress as it happens (each time I process a booking, I write a line summarising it to the browser with 'print') From RTFMing and Googling, it seems that I should be able to do this by...
4
1,781
thread by: Lee David | last post Aug 17 '05 by: Jasen Betts
How do I take a field from a form and store it on in a mySQL table? TIA, Lee
1
1,282
thread by: Tony | last post Aug 17 '05 by: aaron
I've been with a web hosting company for many years but am contemplating moving away from them. I'd like a hosting company that supports PHP, MySQL, Coldfusion, ASP, .NET, etc. I'm a developer and mainly would use the site for testing various techniques and also running a fairly minimal web site. For that reason, I'd like a site that...
2
2,534
thread by: Lisa Pearlson | last post Aug 17 '05 by: Lisa Pearlson
Hi, My php application (on Apache/Linux) needs to do the following: The PHP script receives a request from a client (binary), asking for certain records of data. My PHP script loops through all records and sends each of them ONE BY ONE. After each record that my server script sends, it waits for the client to confirm proper reception...
1
1,251
thread by: ergobob | last post Aug 17 '05 by: ergobob
Hello Everyone, I have two Include PHP scripts running in two scroll boxes on a test page at http://www.usernomics.com/ergonomic-products-data2.html . The PHP script is being pulled in from FeedDigest.com. I already have a similar thing running on my site but it is from RSSFeedBurner.com and it works fine. I am trying to change over...
5
1,350
thread by: Mike G | last post Aug 17 '05 by: Peter Fox
So if I don't have anything specific to do when an object is no longer referenced, I don't have to explicitly define a destructor method? I am not required to free or delete each variable, am I? Thanks, Mike ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- http://www.newsfeeds.com The #1 Newsgroup...
3
3,109
thread by: Oak Hall | last post Aug 17 '05 by: Alvaro G Vicario
How do I empty an array? Remove all keys and values? Also how do I assign one assosiative array to another so that thisarray=thatarray? Thanks Newbie oak
5
12,046
thread by: Tommy DN | last post Aug 17 '05 by: eddie12208
On my computer, whenever a new page is opened, a new session id will be created instead of accessing the same session id. When I upload everything on my webhost, it seems to work normal. So there's no problem with my code. But I want it to work on my local machine too, because it's better for me to program my website. I've PHP running on...

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.