39,320 Topics
| |
Hi frnds... i have to do resume uploading to email...plz give me the code for uploading resume to email.. i know the code for sending email..but dont know how to do the attachement....plz tell me... this is my code(this code only 4 mail..not 4 attachment)...plz change this code for attachment... … | |
I have a login form which redirects the user to a new page if the form is submitted, however it does not show the error messages on the same page as the form. Currently if nothing is typed in user or passwords fields, the same page is relaoded process2.php showing … | |
Hai friends I need one clarification for cookies . How to distroy the cookies using php . Please help me Thanks vssp | |
Hello guys, I'm having a issues with the imagecreatefromgif() function. I'm running WAMP on my laptop which is running SQL 5.1.36, PHP 5.3 and APACHE 2.2.11. Now if I create a gif image using the imagecreatefromgif() function and add a rectangle to the image and then create the image again … | |
what are the three kinds of php functions? is it functions with params, function without it? what? | |
I know this is a somewhat strange request and is probably not feasable, but I thought I would ask anyway :) I have a form, and on the final page of the form it displays all of the results of the user's entries. The problem is some of these results … | |
What I am trying to achieve is to have a line text change when a page is refreshed or at a set interval like every 15 seconds. I know this is easy with javascript but I really don't want to use javascript. I wrote a simple snippet that does this … | |
I am creating and sending a vcard as an email attachment using MIME. The .vcf file creates OK on the server, however when the email is delivered, the attached .vcf file contains no data, as read by outlook and outlook express (data exists in server file). I'm hoping the error … | |
Hi frnds.. I have to do Forum 4 my website.... It looks like [CODE]forums.digitalpoint.com www.nagfans.com [/CODE] By using which forums??? | |
Hi, I am trying to find the sum of product's weight and can't seam to find anything that can help. I have included my code snippet below. $totalweight = 0; foreach($_SESSION['ddc']['productsincart'] as $key => $value) { $sql = "SELECT * FROM ddcart_products WHERE id = '".$key."'"; $result = mysql_query($sql); $data … | |
Hi, I want to find random string between main string. Suppose [COLOR="Green"]$string="Sign up for Facebook to connect with Jean Profession";[/COLOR] I want do that .. [COLOR="Red"] random word who having length greater than 4 and word not equal to Facebook.[/COLOR] How to do this?? | |
I have been trying to use the function is_null to see if a database value is NULL. When I run this I am looking at the database and the value is definitely NULL, but it is not re-directing to the error.php page. What have I done wrong?? Thanks Guys :-) … | |
Hi all, i need some help. I am creating mysql php game. How can make game to know which user is logged . I am not absolute noob. I already created register, login and main page, and its all linked with database. Problem is when user need to use his … | |
hey guys,, im newbie to stored procedure,,im using the localhost server now,I would like to ask if where to put the stored procedure in my phpmyadmin?Is it from information schema?or in the tables? | |
Hi everyone, I am having 2 php file to run with cron job, the first to run every hour and the second to run every 12pm midnight. I am using cPanel and this is the cron job. i put this in the command to run tex field of the advance … | |
Hi all, I am new to PHP Do I need to sanitize hidden data values in a form before carrying out the query on MySQL db. If so can someone assist me in the correct format The category_id is an INT and the make is a String. $category_id=$_POST['category_id']; $make=$_POST['make']; Also … | |
Hi There, I am using a Freelance script namely Kubelance. In this script I want to use an Paypal API which enables a user to transfer the fund without leaving a site. Can anyone guide me how to do it? Your help in this matter will be highly appreciated. Take … | |
hello i made page with a form to insert data to the mysql database (with copy paste as i started learning yesterday) it works i put the code in a div i want to add a delete link for the records listed but it doesnt work in echo. how can … | |
Hi, I will be using Ubuntu first time for PHP and want to sure that i use a php editor with debugging feature because, i want to see the mistakes at same time. What do you preferr and how can i install it? [code]sudo get-apt install ....[/code] Thanks | |
What I would like to do is return a basic text message if no results are returned from my database. Using the following code can someone tell me how I can accomplish this. Please excuse the code if its sloppy, Im a beginner at php. [CODE]<?php // create short variable … | |
I am trying to set a page for logout from a service I use but need to kill the $_REQUEST['login']provided by that service so my logout and redirect works. I have tried the following with no luck [code] unset ($_REQUEST['login]'); header ("Location: http://www.mysite.com/mypage.php"); [/code] There has to be some way … | |
I would really appreciate help here. I think I'm just missing something small but I just can't figure it out. I have 2 questions about the following code: [CODE=php] <? if(isset($_POST['download'])) { $x = 0; $download_path = dirname(__FILE__).'/'; echo "<b>Downloading from $download_path:</b><br />"; $file = array(); while($x <= $_POST['download']) { … | |
Hi, What is the difference between installing Wampserver and Tomcat Apache? Wampserver installs : PHP, MySQL, Apache Server Tomcat Apache: Does it only installs Apache Server? If yes i probably manually install PHP and MySQL too. Thanks | |
This is driving me crazy and should be very easy. I am trying to pre-fill an html form with session data using echo. I can compile and run but the form field contains a / if the session data is blank. How can I get rid of the / Heres … | |
I am trying to link one variable in the search results to its corresponding variable which is in the same row but on a different field result. For Example [B]title || lyrics[/B] father || am i so proud to be your son... If I search for father, I get father … | |
I'm experiencing alot of issues trying to create the $to field as a variable, PHP is reporting Parse error: syntax error, unexpected T_VARIABLE, expecting T_FUNCTION in /home/shhdcouk/public_html/PHP/class_vcard.php on line 172 and I'm not sure why.... my code is. $send = $_POST['email1']; $to = $send; $subject = "Registered for xxxx"; $body="Thank … | |
hi all i have been using ASP... I basically wanna learn PHP and Drupal now.... I tried installing WAMPSERVER ..... I have got it installed , but i can't make it run... i already have IIS installed on my computer.. i changed this in the httpd.conf file [COLOR="Red"]Listen 8080 ServerName … | |
Ok so here's a part of the php file I'm using. There's already a toggle_it() function to show/hide rows, tables, anything. But now what I want to do is when the user clicks the link "add more", I want to show the hidden row AND hide that "add more" link. … |
The End.