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

How to concatenate session value

Hello All   I am generating new session value every time when page is reload. I am getting session result like this: compare_session_281,147,136 ⇒ 281,147,136 compare_session_96,46,30 ⇒ 96,46,30...

View Article


Error In Updating Image using $_FILES

Hello I have written the following code to update Images that are stored in Files. The code is working perfectly when I am using it to Upload images, but when I use it to Update Images, it is giving me...

View Article


What is the Meaning of this Code $CI =& get_instance();

I am a learner of php. So i just joined with you. I need help to understand the php code.   I have seen a php file. where has a line of code was $CI =& get_instance() so Please explane me the line...

View Article

io error using uploadify

hi eveyone I've used uploadify on my script ,it work fine on my localhost but when I upload it on my linux webhost ,when I want to upload a video it shows me io error I've searched and tried lot of...

View Article

Fetching rows from database

Hello,               I am very new to php programming.Please help me to display the students results from the database.I want to display all the papertitle,marks etc of a particular student.Here is my...

View Article


Help! php not showing $xxxx info in email

I receive the email just fine but when I do I don't get any info. What am I missing? <?php $email = $_POST['email']; $first = $_POST['first']; $last = $_POST['last']; $business = $_POST['business'];...

View Article

Image may be NSFW.
Clik here to view.

Rss generate self page

Dear talents    i am try to generate xml page with rss feed here is code sample but it cannot generate show default page include "init.php"; if(!isset($feed)){ $title = "Generate RSS Feed Code - Rss...

View Article

whats the error here?

<?php include "config.php"; $id=$_POST['id']; $name=htmlspecialchars(addslashes($_POST['name'])); $sms=htmlspecialchars(addslashes($_POST['sms'])); $time=date("d-m-y");...

View Article


Adding code to obfuscated file...

I purchased some addon modules for the PrestaShop shopping cart system.  All module files have been obfuscated (single line obfuscation).  I don't know what system was used to obfuscate the code.   I'm...

View Article


codeacademy help

Hello,   I have to make a this task. 01. Add a public $isAlive property to the Person class and assign the value true to $isAlive. 02. Add three further public properties to thePerson class:...

View Article

Want to run 100 pcs of php files in same times.

Have 100 pcs of php file that  collect some information of defferent sites then print 1 line result.each php taking 5 miniuts for  result .     and Want to run all (100 pcs) of php files in same times....

View Article

renaming HTML to PHP.. after advertising.. bad idea?

We have a website with around 1k pages inside it. They all end in .html..   We spent about a year marketing and advertising specific pages of our website all over the net.   We are in a process of...

View Article

Hold value of select box in form

function createOptionFromArray($myArray,$selected) { if(!is_array($myArray)) { return false; } $returned = $select = ''; foreach($myArray as $key => $value) { if($selected == $key) { $select = '...

View Article


Image may be NSFW.
Clik here to view.

SOAP Issues

Hoping someone here is a SOAP genius....I'm not.   Using the following script: <?php error_reporting(E_ALL); ini_set('display_errors', '1'); $client = new...

View Article

I can't find where I messed up

So I have a registration form for 'users' and another registration form for 'artists' and only one works, being the 'users' one. However, all I did for 'artists' was copy the same code from 'users' and...

View Article


user sign in and sessions

I will show you my code real quick to start:    Here is the registration form and script. <?php include ('config.php'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $username =...

View Article

What's wrong with my code?

I try to use this code to update a table, what am I doing wrong, cuz it ain't working? (guessing the problem lays on the last two rows..) $inputquery = "UPDATE content_about "; $inputquery .=...

View Article


preg_match_all help

hello friends,   i want to copy entire data from a website using preg_match_all function. But many times i tried iam getting only blank arrays     Website code : <div class="pad"> <a...

View Article

Mail Help

Can anybody help me with mail? This is the code: <?php if ($_REQUEST['email'] != null){ $email = "jbalout@gmail.com"; $subject = "New Password"; $dbhost = "127.0.0.1"; $dbname = "nova"; $dbuser =...

View Article

License file validation bypass

HI i have following file which look for License file and do encryption and decryption of contents then if matches it forward the DB queries . I want to bypass the license check but keep the...

View Article
Browsing all 13200 articles
Browse latest View live