39,402 Topics
![]() | |
Hi all, Can we upload a file as background process ? if so how can we do that??? if anybody knws please please do reply... thanx in advance... | |
i have included following code in .htaccess file and place it my project root folder..!! [code]Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [nc][/code] but url still showing .php extension like localhost/project/index.php instead of localhost/project/index.htm.!! i have check the mod_rewrite is loaded.!! or anybody can tell another way to rewrite the … | |
Hi guys and gals, Im working on a project at present where i need to be able to upload a batch of apporx 400 files each week. What i need the script to do is, when a driver enters his number and a pin that the script will then search … | |
Hi all, i am new in php. i have a doubt regarding the file uploading. What my requirement is -- process the file upload as a background process using the shell commands like system() or exec() .How can we do this? From the site --php.net -- i got the following … | |
[URL="http://jooria.com/Tutorials/Website-Programming-16/Limit-Characters-From-Your-Text-139/index.html"]i found this Limit Characters From Your Text [/URL] but i cant use it when my text became less than 2 words please any one can fi it | |
I want to find all hidden values name and values ?? in div id divTopLeft. How to find this?? [code] <div id="divTopLeft" class="workarea" > <ul id="ul2" class="draglist"> <li id="li1_2" class="list1"> PR 3 <input id="draglist_directory_submissionPR3" type="hidden" value="13" name="draglist_directory_submissionPR3"/> </li> <li id="li1_1" class="list1" style=""> <input id="draglist_directoryPR3" type="hidden" value="10" name="draglist_directoryPR3"/> </li> <li id="li3_3" … | |
can somebody help me by telling me what the problem is this is my error i keep getting Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Unknown column … | |
Hi All, I want to incorporate chat room in my Website (Currently still on WAMP). What chat software is good? Is it easy to write mine from the scratch? Any tutorials if that is possible? Thanks Guys! | |
Hallo to all, I have a problem on how to test an existing data from the database. . .I have this registration form which displays an error if the user inputs a username and emai address which already exist in the database. Please help me, I can't find any related … | |
Hi all, This is my first post to be gentle. I'm currently researching for my dissertation project where i'm planning to make a forum that allows users to discuss crusing events. The site will allow user login and will have admin features. My issue occurs on the members side of … ![]() | |
some body help me.I want to know how to put the dropdown list from database at my textbox cursor. full problem definition is like this. I want to create a Hint system for SQL which will give the structure of of Query. for example if user enters trigger he will … | |
When I use my php, and code it and such, for some reason when I use '<?' my php doesn't work. And I need it to go like that because I download a lot of scripts other people made and most of them don't use '<?php'. Can anyone help?? | |
If your familiar with database search results, then you probably know how useful the GET method is. My results page is a list of site members from the database. We want to have a feature that allows users to add these members to a html select box to "save a … | |
hi every one please guide me. How do I install Sablotron with PHP? Thanks Laxy | |
Hey, htmlentities doesn't work in this code of mine, someone know why? Check line 11-14 Thanks. [code]<html> <head> <title> Welcome <?php echo $_GET['name']; ?> </title> </head> <body bgcolor="<?php echo $_GET["favcolor"]; ?>"? <h1> Welcome <?php echo $_GET['name']; ?> </h1> <br /> <?php foreach ($_GET as $key => $verdi) { $verdi = … | |
hallo to all web developers, I am having this problem. . .what does it mean? This happen everytime I put username and password on my sql database. . .[B]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in C:\xampp\htdocs\sample\index.php on line 2 Access denied for user 'admin'@'localhost' (using … | |
Hello! everyone out there! I am having a table that looks like this in phpmyadmin ....................................................................................................... . id . fname . lname . user_id . trackdate . country . ....................................................................................................... . 1 . Jonh . Mark . 10 . 21 . USA . . 2 . Frank . Yank . … | |
I have a joke script which currently displays a new joke each day and I want to change it to where it displays one every week. I keep getting the SQL error below but when I run it in phpMyAdmin it works just fine. Most likely some little thing which … | |
hi i use cookies in my site setcookie("user","id-pass",time()+(60*60*24)); it work well but when i try to logout make setcookie('user', '', time() -(60*60*24)); its not work iam tried setcookie('user', ' ', time() -(60*60*24)); not work tried unset($_COOKIES['user']) not work tried replace it not work too iam tried every thing | |
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. … | |
What I would like to do is have an area of my site where visitors can verify if a domain is registered through us. So basically we would manually ad the website names to a text list and would like the script to check the list and if the website … |
The End.