473,549 Members | 2,813 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.
33
1,899
thread by: virenderkanger | last post Mar 17 '15 by: Dormilich
echo "<td>".'<input type="text" name="date_from" class="datepicker">'."</td>";
32
3,023
thread by: Chung Leong | last post Jul 17 '05 by: Chung Leong
Building web sites with PHP is easy. Building secured web sites--in any language--is hard. The end result is many PHP sites with security issues. I thought therefore it would be a good idea to put together a top ten list of mistakes to avoid, so that beginners have something concrete to check their work against, instead of fuzzy...
32
2,132
thread by: Marco | last post Jul 17 '05 by: Matt Curtis
Ive been using front page but it starts to anoy me when i need to change in the source things that i cant change while in the "normal" mode, specialy when working with tables its soo hard to tell him what we realy want with out going to source and change it there. heh heh probably some while say use the mighty notepad ;) , its not good for...
32
2,822
thread by: Bernard Koninckx | last post Jul 17 '05 by: Hayden Kirk
Hello everybody, I'm a newbie and I search a good editor or IDE for programming in PHP. If you have used some of these, could you make a comparison between those tools. TIA Bernard
32
32,982
thread by: Nuno Paquete | last post Jul 17 '05 by: Chung Leong
Hi group. I'm using this code to see if is there any parameter for variable "menu": if($_GET == "downloads") .... But this code log errors if there is no parameter passed (this heappens at the first time the page is loaded). I tryed this code:
32
1,690
thread by: Toby Inkster | last post Sep 16 '05 by: Edwin van der Vaart
http://examples.tobyinkster.co.uk/inc_dt.phps -- Toby A Inkster BSc (Hons) ARCS Contact Me ~ http://tobyinkster.co.uk/contact
32
4,028
thread by: Nu | last post Feb 1 '07 by: Peter Fox
I want to protect myself from if someone with a fast connection hammers my site. It's not denial of service attacks, but offline downloaders (of course that don't show they're offline downloaders in the useragent so I can't filter them by that). My main issue is my site is PHP so if they hammer it, it gets all the PHP files executing and...
32
2,942
thread by: fjm | last post Jun 8 '07 by: fjm
Hi all, thanks for helping. I'm sure what I want to do is amongst the basic in php. I know ehat I need but I really don't where to begin. What I have is a basic html form I have made consisting of header fields and fileds that will be populated from a mysql database. here is a small example of the form. ANIMALS <-header dog <-field cat...
32
4,243
thread by: Ciaran | last post Jul 21 '07 by: Krustov
Hi I've seen this a few places - The site lists off the number of people (not logged in) currently browsing the site. How can I do this with php / mySQL please?
32
1,684
thread by: Sheldon Glickler | last post Sep 1 '07 by: Sanders Kaufman
Before I begin let me thank the many people in this group who have helped me over the last few years. It has been greatly appreciated. For the last several years I have been coding all server code in php. I love the language. However, I live in an area (in the midlle of a triangle formed by Orlando, Tampa and Gainesville) that seems to...
32
1,686
thread by: Evan Jou | last post Sep 28 '07 by: Jerry Stuckle
Hi there, I'm starting to learn php and need a php editor for windows. Can you recommend what you think the best editor available in the market? I've tried some free html editors and was not satisfied with them. I need one that is simple and neat, but can display different color on different part of the script if you know what I mean. Your...
32
2,523
thread by: Joe | last post Sep 26 '07 by: Jerry Stuckle
I am just starting to use Object Oriented PHP coding, and I am seeing quite often the following (this example taken from a wiki): $wakka =& new Wakka($wakkaConfig); What exactly is the =&, and why is it different from = ?
32
1,435
thread by: RageARC | last post Oct 3 '07 by: Steve
I still don't get the point of using nameservers. The fuss that's been going on because PHP didn't have support for them is still unclear to me. Having functions and classes with the same names, but on different containers? What is it useful for? Besides having all MySQL functions in a MySQL namespace, SQLite on another, etc... I don't see...
32
4,531
thread by: fjm | last post Jul 10 '08 by: fjm
Hello everyone and happy Sunday. :) Can anyone advise if using a single database class for a single domain and 1 subdomain is the correct way to go? I have: mydomain.com (and) sub.mydomain.com I would like to use a single script to connect to the database. Is this advisable? The subdomain is the private side and the domain is the public...
32
8,141
thread by: Bill H | last post Jul 7 '08 by: AnrDaemon
I wouldn't consider myself a newbie to PHP since I have never written one line of code in it (am a perl guy myself), but part of a team I am working with is writing some php interfaces into a database and I noticed that they are relaying on HTML form value names to always be lowercase in their code (ie $_POST (fyi that may be typed wrong))...
32
2,601
thread by: Request-1 | last post Nov 11 '08 by: Jerry Stuckle
hi folks, html coder here, new and terrified * of php!! aaaaaa! i'm trying to bury a JS script to rotate a photo, in a page i converted from html to php. the conversion went well, it was to use a php session cookie to stop the repeating of an embedded video file on a per session basis; i amended the php code to display a still pic if...
32
2,244
pradeepjain
thread by: pradeepjain | last post Dec 18 '09 by: kovik
hii guys !! I have a website where in i was listing all the mobiles in a page like 1.nokia 3310 2.motorola p150 3. .. so each mobile has description page . so i was passing the model(3310) and brand(nokia) in url to a page (mobile_desc,php) where i was getting the $_GET variables and querying it .
31
3,818
thread by: Bruce W...1 | last post Jul 17 '05 by: Justin Koivisto
This is a best practices question. For a website where PHP is used, does it make sense to have both .htm and .php files? In other words, for pages that have no active content there's no point in naming them with a .php extension. Is there any advantage or disadvantage to making all files .php, or the same for mixing them with .htm files?...
31
9,776
thread by: lawrence | last post Jul 17 '05 by: Nikolai Chuvakhin
I'm not sure how this is normally done, on a large site, perhaps one running Phorum. Occassionally a thread will have hundreds of entries, perhaps a meg or two worth of data. You won't necessarily print all that to the screen, but PHP has to hold it in memory. Run some operations on it, or, more likely, have an array that you keep adding...
31
14,141
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
31
2,427
thread by: Lag | last post Feb 27 '06 by: Lag
Having a problem updating my database from a web page, through a submission form. Can anyone help? ----THIS IS MY CODE IN update.php----(user, pass, and database are typed in directly, I changed them here for securiy reasons :) ) <?php /*---CONNECT TO DATABASE---*/
31
2,557
thread by: Mason | last post Nov 23 '06 by: Sanders Kaufman
I've been working to become competent at making websites. My learning path has been: html -css- paintshop pro -javascript -php/mysql I'm getting somewhat proficient at php/mysql (although I have plenty to learn - I haven't even started on gd library) and want to think about my next step. Any suggestions?
31
15,330
thread by: daniyalnawaz | last post Jul 12 '09 by: vikram09
I'm having a problem during consuming the FedEx webservice... Error Detail: Warning: SoapClient::SoapClient() : I/O warning : failed to load external entity "wsdl/RateService.wsdl" in D:\Test\FDX\rate.php on line 12 Fatal error: Uncaught SoapFault exception: SOAP-ERROR: Parsing WSDL: Couldn't load from 'wsdl/RateService.wsdl' in...
31
8,283
thread by: DirtySnipe | last post Oct 8 '07 by: DirtySnipe
I have created a php form with dynamic drop down boxes in it which pull the options from a database. The boxes work fine and the data gets submitted fine but im having a problem getting the box to default to a record of my choice from the database. (record 1 = None). Here is the code to what i have done. <input maxLength="40" size="30"...
31
1,575
anfetienne
thread by: anfetienne | last post May 19 '10 by: Markus
Hi, I've just recently starting getting into and learning PEAR, but one thing I haven't come accross yet is using PEAR to insert data into a DB... can it be used for this? and also what are your views on it's cache function?

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.