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

Accessing Localhost PHP application through a Website developed in PHP

I have an application which I have installed in my Laptop using WAMP, now I want to access this application from a Website which is laready running online, and developed in PHP. Please help me for...

View Article


Help with creating directories/uploading files

Hi everyone,   I'm working on an assignment and am looking for some advice as to where to start.  What I'm trying to do:   "Create a form and a script to upload files into a directory. If that...

View Article


Image may be NSFW.
Clik here to view.

online exam

im doing a quiz project on php.everything is working fine i gues.. i need to randomly select questions from db onto screen...applied rand function but didnt work 4 me bcz some quesns are repeating......

View Article

Image may be NSFW.
Clik here to view.

XML with attributes

Kindly check the website for XML Tutorials :  XML blank-emplty Attrib.xml   578bytes   2 downloads  XML blank-emplty Attrib.xml   578bytes   2 downloads...

View Article

Select make checkbox

This functions used select data but I want use <input type="checkbox"/> Please help to modify. //----------get country via select option---------- function get_country() {          $sql = "SELECT...

View Article


PHP EXEC in Linux

Hi Team,   I am able to execute exec('file.exe') in my local wampserver in widows.   Problem: When I have uploaded the same code in Linux server in web, it is not getting executed.   Help plz..

View Article

Form isn't redirecting

I'm creating a login form that, when log in is clicked, should take you to my home.php page. However, if I put in the correct username and password and click login, it just refreshes the page and does...

View Article

parse int !

hello i am asking the user to enter into a textfield a number .. of course , it will be entered as a string how can i check whether his entry is a number? (integer) is parsing it into int a solution?...

View Article


trying to print $result in rows of a table

hello, i am trying to print the query $result, each in a row!! but i am just getting the form of the table without values added to it.. the query works fine since it was outputting normally before...

View Article


Email notification hacking

Hello everyone,   I am trying to modify a wordpress free plugin (Birchpress Scheduler) so that I may receive email notifications when an appoitment is booked.   At the moment, this feature is only...

View Article

MySQL - Updating a list and displaying

Hi, In my table I wish to have a list of items and have it updated via a form.   From what I know I cannot just use UPDATE as it will overwrite whatever is in the field already.   Example of what I...

View Article

Image may be NSFW.
Clik here to view.

Array sum

OOo the 4 hours of cirlces iv travled on this one. echo "<table border='1'> <tr> <th>Category</th> <th>Value</th> <th>Date</th>...

View Article

filtering display results with check boxes

Im doing an adult model filter and I have the html but I need the php. I am new so bear with me. I apologize for the adult verbage.   <div class="modelsearch">   <span style='color: black;...

View Article


parse smtp code output which through fsockopen()

I send EHLO command to gmail stmp. if response was success, it will send code 250. I try to catch the response code of gmail smtp. when my code like this $fp = fsockopen("ssl://smtp.gmail.com", 465,...

View Article

How do I use print isset on this from?

How do I print isset on this form? Thanks <?php $var = $result['email']; if (!empty($var)) { if (isset($_POST['submit'])) { if(isset($_POST['answer']) && $_POST['answer'] == '2'){ $to =...

View Article


make file readable only when it is included or required else display error404

I how a problem that if someone goes in myurl.../content.php he can see my content.php file but I would like that it could bee seen only  when I include that in myurl.../index.php. How it could be done...

View Article

query help

i'm trying to view in a table:   daytime --- meal --- calories   the table in the database has (fooddiary) ID--Date---DayTime---Food--Calories   and table: food FID---FoodName---Size---Calories   i'm...

View Article


Output last lines from .txt file and reverse output

I'm trying to output the last 6 lines of a .txt file in reverse order.   So if the file consists of this:   line1 line2 line3 line4 line5 line6 line7 line8 line9 line10   I wan't it to output:...

View Article

PHP variables to JavaScript.

Hello All   I am having a problem trying to transfer variables from PHP to Javascript.    My demonstration program: // PHP Demonstration Functions function test { $test = "HELLO WORLD"; process($test);...

View Article

Question about array's

Hey,    I am trying to figure out how I can pull an array that is within an array. I have trying doing that but not getting any luck.   Below is an example code that I am trying to work with, but its...

View Article
Browsing all 13200 articles
Browse latest View live