Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

parse to new page from form

I have not been able to find this on YouTube or the internet surprisingly. Anyways I got a simple select form here. I was not real sure where to put "name" and "value" tags. Anyways here it is:...

View Article


Reposting form fields data from one script to another automatically via a...

Hey there guys. My current task has presented me with the challenge of using cURL in order to automatically pass form data to an external script via a Glype proxy server.   In a nutshell, I've got:...

View Article


Image may be NSFW.
Clik here to view.

Read user access level in IRC

Is this even possible, short of using a command to view and parse the access list?   I wanted to make a few of the PHP Bot commands available to only ops and above, so that means access level >= 5....

View Article

query full database

I am trying to query a database with multiple tables and echo each piece of data from each table into an html table. I get the error that says the syntax for the query is incorrect. Any suggestions...

View Article

Binary Search Tree Incorporating MySQL

Hey all,   I'm trying to make a Address Book out of PHP, Ive got everything I need except search and I want to do it using a BST(to help me learn more on BST and MySQL interaction along with BST's in...

View Article


Detect Mobile Devices - PHP - $_SERVER['HTTP_ACCEPT']

PHP - $_SERVER['HTTP_ACCEPT'] If I use the above code, which part of the results will determine if it is an android phone or a mobile device?

View Article

Update is inserting information into wrong id

Registration and login work fine. Update also updates the information to the database. However if 2 people with the same first name register on the database it automatically defaults both those...

View Article

Image may be NSFW.
Clik here to view.

Display only on the correct devices.

If you have a look at The attached picture, taken on my iPad just now you will see 3 app downloads buttons. The top One links to app.php?id=android the middle one links to app.php?id=iphone and the...

View Article


Image may be NSFW.
Clik here to view.

Help needed to add a calculation field on MySQL...

Hi all   Noob here!   I am busy writing a web app that posts fuel usage data  into a MySQL DB.   Some records get added into the DB on the day that the vehicle leave the site. This will include the...

View Article


Prevent html from "processing" from user submitted field?

I'm a noobie at php, so this is probably very simple, but I have a field that allows users to submit a title for a page.   Today I discovered someone submitted a title that had...

View Article

Password change

Hi guys I am having all sorts of problems with my script. I want the script to check current password before allowing member to change their password to a new one. My script is failing to check their...

View Article

Let user to take picture from webcam/smart phone

Hello!   I have a website that users can upload their pictures. Actually, i have a flash version, and another jquery upload and another traditional form upload...   I want to let user to upload photo...

View Article

Automated Yahoo Mail login with cURL - how?

I am currently attempting to create a page with cURL instructions that does the following: Take the following link, send a GET request to it, and retrieve the results....

View Article


Need to require either one or another option be completed in form

I'm not sure how to write a little snippet of php code.  The form is at http://medicallakeveterinaryclinic.com/schedule.html.  At the bottom, it asks them to put either their phone number of email...

View Article

Create Real Estate Report With Demographics and Maps

I am a commercial Realtor. I want to create a website for my company to generate property reports.   I have several agents besides myself and each agent should have their own account and properties....

View Article


Question about using $this inside methods

Hey Guys. I just wanted to know how is an attribute available when you use the pseudo variable $this in a method, with out even initializing it in the class. I thought that you only use $this after you...

View Article

Passing a $_GET value with out href links

Hey guys. I have a custom ecommerece application, and I am looking to pass an the order_id  to a different page with out having someone clicking on any link.   As an example when the user gets to the...

View Article


SELECTING A random Value but with a Percentage.

Okay, I have a table called: "monsters" and it has 5 mobs. (rows)   Only 1 is a Unique mob with a grade column set to "Unique".   The following query will select a random mob (someone entered the...

View Article

Image may be NSFW.
Clik here to view.

How to convert DOMDocument to XMLReader

I need to import a large XML file into my DB (2Gb) I tried to use DOMDocument and it failed cause of size and read up and understand that I should rather use XMLReader. Google search do not help much...

View Article

plz help with unwantented output.

i am geting unwantend echo on my new linux hosting when i am working with CURL script. as * About to connect() toxxxxxxx.com port 80 (#0) * Trying 1.1.1.21... * connected * Connected to xxxx.com...

View Article
Browsing all 13200 articles
Browse latest View live