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

What does this mean?

I was told to implement the site with this requirement. Security is an issue so make sure that the domain name www.acme.com is never returned as part of the HTTP request to the user, not even in the...

View Article


google search

Im trying tu use image google image-search from https://developers.g...mage-search/v1/ But the code dont works. You can see in my test page: www.netbooks.pt/teste.php the image dont apears     Before I...

View Article


previous next links

I have the following code allowing me to navigate to the previous or next record in the db.  In the code below, I would like to swap 'new_date' (which is in the 000-00-00) format for the existing...

View Article

php not working...

<?php include("../konnect.php"); $sql = mysql_query("SELECT * FROM ask") or die("MySQL Failure: " . mysql_error()); if (mysql_num_rows($sql) === 0) die("There were no rows returned"); while ($row =...

View Article

How do I change where my php file saves a file?

Right now I have a PHP code which takes a template, changes some things on it, and saves it to the same folder the .php file is in. How do I make it so that I can change where that file is saved?...

View Article


Build a calculator in PHP

I am trying to build a calculator in PHP which uses a certain formula to come up with the results. I have a form which collects the numbers and then posts to a calc.php page which calculates the...

View Article

Image may be NSFW.
Clik here to view.

insert activation code into table

Hiya I was hoping for a little help if possible.    I'm building a basic email activation system. I've got to a point that when i register a new account; userid(auto increment),  username, email,...

View Article

How do I add to a template then save the template as another name

Hello. I am trying to make it so that when a person enters there server info(For minecraft(game)) then it will take a template file, add in an edited peace of code, then save it called something else,...

View Article


notice : undefined index - problem

Hey guys,   i am working on my site , and i have a global conditional that is pretty simple in what i want it to do ,   i have 4 variables that are not always set, i am writing an if elseif statement...

View Article


ZipArchive () problem with special characters in filenames

I use ZipArchive(); to list the file names inside a Zip archive (uploaded on FTP by different users, not created by server). Problem is that some of the file names contain french caracters (accents...

View Article

Displaying multiple content

I am really a newbie with PHP and I'm trying to reverse engineer some code.A user submits a search request, let's say a user tries to search for any products with the word "water".  A page comes up...

View Article

Image may be NSFW.
Clik here to view.

Check input information.

Hi everyone, I'm trying to create a blog for myself and I'm having trouble right of the bat.  I'm a beginner by the way.  I'm trying to code a create new category page and check what information is put...

View Article

.DS_STORE and .ftpqutoa not unlinking?

Hey,    I have wrote some code to unlink all the files in my directory and then delete the directory.   All my files on my remote server gets unlinked besides the following 2 following files . DS_STORE...

View Article


dispaly category name with product name on shopping cart widget

Hello every one   i am working on wordpress site and having a problem to display category name with product name i add product in cart .  http://www.qurbaniudhiya.org/?page_id=94 check this. it a wp e...

View Article

any way to auto regsiter emails to google group

Hi every one I've a website and I need so send daily mails to my clients , but as you know , there are limitation for sending mails on web servers . so , is there any way I can auto joing my client's...

View Article


Adding products by retailer

hello guys, i have a login table where customer and retailer logins are stored. roles that are defined in the table are retailer and customer next to each login details.customers and retailers both are...

View Article

Image may be NSFW.
Clik here to view.

Inserting routine into a simple script without upsetting the array

Hi Guys I have been working on a script for my website, the script itself works fine and does what it is meant to I have a free tarot reading request page, the visitor enters name-email-gender- and a...

View Article


calculator using oops

hello friends.. i am trying to create calculator using OOPs.. its my first assignment in oops   i have created a class in cal.php   <?php class calculator {     public $one;     public $two;...

View Article

Why error on line

hello guys,   y am i having an error on this line of code   <?php $cartItemCount = count($_SESSION['cart']); ?>   do i need to define the 'cart'?   how i do it if need be?   please

View Article

Error at these lines if($_GET['action']=='add'),...

can anyone please tell me what is wrong in this piece of code? am having error where i mentioned in the title... <?php if($_GET['action']=='add'){ echo "<div>" . $_GET['prod_name'] . " was...

View Article
Browsing all 13200 articles
Browse latest View live