473,809 Members | 2,469 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
1,409
thread by: l e o | last post Jul 31 '05 by: Jerry Stuckle
I am looking for a smtp server. I'm running Apache in Windows XP. Thanks.
1
1,312
thread by: Shelly | last post Jul 31 '05 by: Janwillem Borleffs
I would like to have a popup page. In case of errors, I would like to have a separate page (of small size) pop up with the error message. How can I make this happen? It would make life much easier. Shelly
1
1,280
thread by: l e o | last post Jul 31 '05 by: Michael Phipps
Where are they? I am testing the sql, web server. I need to fully clean out all the preferences from mysql, phpmyadmin, etc. The OS is Windows XP, and I use AppServ if that helps. Thanks.
3
2,205
thread by: Al Kolff | last post Jul 30 '05 by: Al Kolff
I am putting together a site based on iSchoolAd a apache/php/mysql script It is being developed locally using PHPDEV. After completing modifications the script worked fine. Till I changed global_variables to on in php.ini (to make a old script run). When I went back to my project I received a message when trying to login:
1
1,176
thread by: Olw | last post Jul 30 '05 by: Jerry Stuckle
Hello, I'm running image Gallery software written in php from http://gallery.menalto.com/ First, all was ok, but then I guess the server upgraded to php 5. Then, I got problems with: cannot re-assign $this
15
2,148
thread by: Scott Auge | last post Jul 30 '05 by: Jerry Stuckle
I am looking for comments on something that lets me abstract database updates in an object. Lemme explain what I am thinking: Lets say I have an object Person with... SetFirstName() SetLastName()
2
1,335
thread by: Michael G | last post Jul 30 '05 by: Michael G
I am not sure I understand the rules as to what exactly gets output to a browser and when. If I include a text only file or an html file, these will show up in the browser regardless of where in the script they are included. Thanks, Mike ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
1
3,245
thread by: Spudster3 | last post Jul 30 '05 by: Janwillem Borleffs
I'm trying to get this to work.. <?php echo passthru('wmic cpu get loadpercentage'); ?> and just output to the browser... It looks like cmd.exe hangs when it tries to execute the command. The IUSR_ account has access to both the cmd.exe and wmic files. I have also tried copying the wmic files to the C:\php dir, and to the directory...
2
1,290
thread by: Shelly | last post Jul 30 '05 by: John Dunlop
I have a question that is going to make me look stupid, but as I am new to html and php (2 months), I'll as it anyway. I have been using POST as the action and to get values that were input. I understand that GET could also be used as the action (not just to get stuff after the "?" which I understand). a. When should GEt be used and when...
12
3,812
thread by: Josef Blösl | last post Jul 30 '05 by: richard
hi folks! i have a cart link in all of my listed products on the site. when i press this link i will generate a url like this http://www.mysite.com/index.htm?location=shop&view=cart&action=addtocart&productid=3 after i press this link the site cart.php will be included and add the wanted product to the cart, and show the cart.
9
35,368
thread by: Robertico | last post Jul 30 '05 by: richard
Is it possible to add a "href=" tag to an echo line. Something like this: echo "<b>$name</b>,<br>Sorry there's a problem sending your message. Please try <a href="/mail.html">again</a>"; Robertico
1
1,566
thread by: ctfilter | last post Jul 30 '05 by: NC
I'm looking for an open source app. that can handle reverse and dutch auctions. Preferably something with user friendly UI. Ideas??? Thanks! -- Paul
0
1,317
thread by: Shelly | last post Jul 30 '05 by: Shelly
<?php I am confused about what goes on with method POST. Here is my problem, sketching it out: if (isset($_POST) && $_POST=="Submit") { Do a bunch of stuff if (isset($_SESSION)) unset($_SESSION); if (a certain form control, A, is not "any") { Verify that a Zip code is numeric and is five digits If not: then {
0
942
thread by: CNerd2025 | last post Jul 30 '05 by: CNerd2025
I've released a first version of a design document on my website. It describes in some detail what I plan to do. Please have a look at it and if you can help on this project, email me (andrew_dot_elgert_at_gmail_dot_com or cnerd2025_at_gmail_dot_com), reply, or IM me (cnerd2025). Godspeed.
5
1,632
thread by: Richard Follet | last post Jul 29 '05 by: nop
Hi, I must read an HTML-free web page. The only documentation I have is this : : temp: This request will return an HTML-free web page, consisting of a simple ASCII string of pipe-delimited data. The data will be in the format of : "PROBE1_NAME|TEMP|PROBE2_NAME|TEMP…"
2
2,926
thread by: lawpoop | last post Jul 29 '05 by: jamen
Hey folks - I'm working on a spellchecking routine. The pspell libraries don't handle punctuation; I have to make a script a little smarter. I'm having a problem popping English posessive endings off of strings. I thought that this little snipper would do the job: <code> if ( substr( $word, -2) == "\'s" ) {
31
14,186
thread by: Stephanie | last post Jul 29 '05 by: Simon
I have a newbie question (couldn't find the answer with google) How to show countdown from 10 to 0 seconds. Stephanie
4
1,581
thread by: bingomanatee | last post Jul 29 '05 by: bingomanatee
I am having a problem with inheritance and static properties. I am writing a data record class object structure for Xoops. Because the table name is dynamic, I have to set it as a static member for each class. However I am having trouble finding a way to pass this static member to the subclass. for instance, /************ SAMPLE RECORD...
7
1,591
thread by: guitarromantic | last post Jul 29 '05 by: Geoff Berrow
Hey all. I'm building a news system. I have a page to display all posts made to category=$id, simple enough, now I wanna make an index page that looks up all the categories from the news_topics table, displays their name, a link to their page, and the image assigned to that category. Here's the catch: I wanna put this in a table as the...
0
972
thread by: brianwmunz | last post Jul 29 '05 by: brianwmunz
My client wants me to give users the ability to upload 3 pics in a row, right next to each other with a button beneath that says "locate image." When the user click "locate image" it works like the browse button. Then once you've chosen a pic, the page refreshes and the pic is displayed. If this isn't possible, they would at least like for...
11
2,143
thread by: News | last post Jul 29 '05 by: Positive Contrarian
I have a database of zipcodes with latitude and longitude. I also have the method of calculating the distance between two zipcodes. What I want to know is if there is an efficient algorithm for obtaining the zip codes within a specified distance of the first zipcode without having to retrieve and calculate for every record in the database. ...
7
1,425
thread by: Chris | last post Jul 29 '05 by: Chris
I have a PHP query for a MySQL database that I'd like to restrict access to. It's linked from a .htm webpage with other links on a company intranet site. Does anyone know of any PHP code examples on the net to perform such a task? I have to think it's a pretty common application for passwording in PHP. thanks, Chris
1
1,461
thread by: jonathan.beckett | last post Jul 29 '05 by: Erwin Moller
I just spent a few minutes making this during a break at work; http://www.pluggedout.com/blog/index.php?entryid=332 My colleagues badgered me into telling the world about it :) Regards Jonathan
6
1,438
thread by: frizzle | last post Jul 29 '05 by: frizzle
Hi there I'm building this CMS, and at a point i have 3 similar drop downs. The values of the drop downs are called from a MysqlDB. The first one is just fine: do{ $selected = ($_GET == $result) ? ' selected' : '';
2
4,375
thread by: bettina | last post Jul 29 '05 by: bettina
I have 3 inc. files where I keep names of series in different languages. For example: $series_1 = 'kdfkd'; $series_2 = 'fdgdgd'; $series_3 = 'hdssasd'; In my database I count how many different series there are (In the database I have different elements that belong to series). I want to make a link for every serie. So I use a for loop:...

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.