Discussion and technical support for using and deploying PHP based websites.
Do you have some great PHP topics that you'd like to write about (and get paid for)? We're looking for high quality PHP articles to publish on PHPBuilder.com. If you're interested, send me a note at sclark at jupitermedia.com with your proposed article!
Frequently Asked Questions
(If you have comments or suggestion for this FAQ, post them in this thread.)
1. What is PHP?
2. Is there online documentation and tutorials that can help me learn PHP?
3. Can I run PHP locally on my PC?
4. How do I make my code color-coded and indented in my...
this thread. - MOD]
How to upload images using PHP is one of the most frequently asked questions in this PHP forum so I am going to use this post to look at the basics.
Uploading images can be broken down into the three following steps which will be looked at in turn:
An HTML form with a...
I keep having new questions so I'm starting this thread to neatly keep them all together. That's ok, I think? I hope I'm not asking too many questions :eek:
What I'm wondering right now is if I make a class--let's say User--and put it in a file--user.class.php--should any children of that class...
I figured this out the other day and thought it would be a good idea to pass on. SMS messages are just sent to special email addresses, so they can be sent from server to phone with minimal effort. Here is the form and handler, feel free to copy or modify it in any way you see fit:
I have a mobile redirect that works and points to a template mobile site. Now I need to bypass that and have the option to view the "Full Site" through a link on the mobile site. I've read the best way to do this is by setting a cookie, and found a site that gives example files to do this.
I'm still fairly new at PHP, and am trying to put together a program for use by myself and a small number of other people. A very simple program already exists and works. I'd like to add some ways that people can retrieve their own data so that they can analyze it and learn from it.
Hello. I'm still new to some basic formatting concepts. Something confused me in the book I was reading.
when you have CSS style rules embedded in an PHP string, is the semicolon (that ends the statement after the font formatting) always placed before the double quote? Example in the second...
hello i am new on this good forum and i
want some help about php script i am
download one free article directory script
and install but this directory not have any
meta key word meta discraption meta tags
etc option in admin panel please help me
how to add these options first see my...
Hi I am trying to display all the images in a certain folder.
I dont want to display the directory itself of the parent directory.
I would like to show the actual photos instead of the links also.
Here is the code:
?><!doctype html public "-//W3C//DTD HTML 4.0...
Is there any way to send an image to any graphic tool using Php code?
Thanks in advance :)
We are in the process of developing a unique PHP cart/catalog for a medical supply company. Here is the type of cart I need as we have scanned the web for something like this but cant seem to locate it (which I can't believe).
1. The Catalog/Cart and items would be viewable to all...
I know nothing of PHP whatsoever. I'm attempting to use a script I obtained here on my Web site. It's not working quite the way I'd like it to.
In this discussion a PHP script was provided that forces downloads to occur rather than allowing the browser to open the file.
I'm happy with the...
Needing some assistance with a client's site
They are a martial arts school that is looking to setup a section for their members to review their belt class requirements and view videos.
There will probably be only one database with one table for all the members and in it will be path to the...
I want to remove my .php ext and i have the script that works in my ht access. I think...
But I think since I built my navbar in php its wont find the page when I remove the .php from the a href tags.
if someone could help I would appreciate it.
I have a var set on the top of each page...
So I'm not entirely sure how this all works and I've spent hours upon hours trying to research and figure this out, but now i'm just stuck.. here is a generic version of my code:
$serverName = "dbname";
$username = "dbusername";
I have an internet shop detail page, on which the user can choose size and version of a product.
Some of our products have only a size option, or only a version option. For these products I would like to hide the select menu, that is not needed. However, when I do so another functionality...
The question is simple.. I've created a register FORM that calls register.php file passing parmas througth AJAX. I've applyied some restrictions to the form compilation, such the necessity of a regular email address, regular name, and regular acceptation of terms and conditions.. After that i...
Hi all, I have a problem to generate barcode by using the code from: http://www.codeproject.com/KB/GDI-plus/GenCode128.aspx The barcode could not encode special characters. What am I doing wrong?
I need to know about how can we convert a PDF file to the HTML file using PHP:(...Having any piece of code post it otherwise...suggest me how to do this...:)
My site is SealTeamRealty.com and click on the contact form..
All it does it go back to the home page.
I've never used CodeIgniter before so not sure if I set it up right but I tried to follow the directions..
<form enctype="multipart/form-data" method="POST" action="ads.php" />
Name:<input type="text" name ="name" /><br />
Book:<input type="text" name ="book" /><br />
Subject:<input type="text" name ="subject" /><br />
Price (CAN):<input type="text" name ="price" /><br />
i have a usps lebel which give me encode string in tiff or pdf
i decode this string from base64();
i found there is a method to show gif or jpg
echo '<img src="data:image/gif;base64,'. $author. '"/>';
is there is way to show tiff direct?
I want to send some data via cURL using the following methods:
I am working on my tv guide website that I output the data to my php from mysql database. I want to know how i can work it out the tv time for per programme how long they would last for, e.g 30 mins, 1 hour...etc
I am new in Development, so please tell me which is the best framework for php. share your feedback and suggestion.
I needed the dev communities collective minds on this one. I'm in the process of creating a comment section. It's written in jQuery. So therefore, when someone makes a comment, the new elements are dynamically created and appended to a target <div>.
Well, the problem is since its dynamically...
There are currently 119 users browsing this forum. (1 members & 118 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.