Search found 48 matches

by amitdubey2
Wed Jun 30, 2010 3:36 am
Forum: PHP - Code
Topic: How to call a file and pass details to it?
Replies: 2
Views: 219

Re: How to call a file and pass details to it?

hi rajesh10071986 , i don't know exactly but are you saving the second file with .php extension ...( in which you are using php tags) ?? (Even i read that in first file you are submitting the form to welcome.php page.) this may be problem for you , as code seems fine. So if not , save it with welcom...
by amitdubey2
Tue Jun 29, 2010 1:26 am
Forum: PHP - Code
Topic: PHP Mail Problem
Replies: 7
Views: 253

Re: PHP Mail Problem

hi nlimpag07, This is the code with validation .. it will work for you. :D :) <SCRIPT SRC="translate.js"></SCRIPT> <SCRIPT LANGUAGE="javascript"> function checkfield(loginform) { ok=true if(loginform.username.value=="") { alert("Please Enter Your First Name.")...
by amitdubey2
Fri Jun 25, 2010 4:55 am
Forum: PHP - Code
Topic: PHP Mail Problem
Replies: 7
Views: 253

Re: PHP Mail Problem

hi, just said..there are many syntax error..in your code.. You may use the following code..it is not doing the validation part ..but let me know if you want validation. here is the code.. <?php //Check whether the submission is made if(isset($_POST['submit'])){ $username = $_POST['username']; $txtSu...
by amitdubey2
Tue Jun 15, 2010 3:34 am
Forum: PHP - Code
Topic: How to update the list of blogs asynchronously in RSS FEED??
Replies: 3
Views: 209

Re: How to update the list of blogs asynchronously in RSS FE

hello katierosy ,

i tried it in several ways but not getting the things correctly..Actually i dont know much about javascript so, Can you please modify the above code and set the interval to 30 min for checking update feeds for that blog.
Please help me.. :idea: :dubious:




regards
amit
by amitdubey2
Sun Jun 13, 2010 10:35 am
Forum: PHP - Code
Topic: How to update the list of blogs asynchronously in RSS FEED??
Replies: 3
Views: 209

How to update the list of blogs asynchronously in RSS FEED??

Hello all, I am creating a web application using Google AJAX Feed API to display 5 latest blog titles from a website. The code which i am using is following -(The key which i used in this is for directory " localhost/rss/ ") <form action="" method="get"> How many feeds ...
by amitdubey2
Mon Jun 07, 2010 5:47 am
Forum: PHP - Code
Topic: Problem with opendir() and readdir() on server
Replies: 3
Views: 844

Re: Problem with opendir() and readdir() on server

by markusn00b » Mon Jun 07, 2010 3:23 pm Open up a terminal, command-prompt, or whatever you want to call it. Type this: cd /public_html/file_uploads What are you told? I'm guessing you've got your paths mixed up. As said above by markusn00b, i dont know how to check the path for server through com...
by amitdubey2
Mon Jun 07, 2010 12:42 am
Forum: PHP - Code
Topic: Problem with opendir() and readdir() on server
Replies: 3
Views: 844

Problem with opendir() and readdir() on server

hello all, I am creating a file download manager for a site.Every thing goes fine when I test it on localhost on my machine.But when I put the code for server the opendir() and readdir() function produces a warning.I have searched on net and came to know that it is some permission problem for the di...
by amitdubey2
Thu May 27, 2010 7:32 am
Forum: PHP - Code
Topic: how to create links automatically for items in a folder
Replies: 3
Views: 114

Re: how to create links automatically for items in a folder

Thanks,,, Mikosiko :D :)

i got the point. :lol:




Thanks
amit :drunk:
by amitdubey2
Wed May 26, 2010 3:17 am
Forum: PHP - Code
Topic: how to create links automatically for items in a folder
Replies: 3
Views: 114

how to create links automatically for items in a folder

hello all, I am making a upload / download form for my website.But i am facing a problem ... Till now i am able to upload and download data...But the thing is when i upload some data it is storing in the "data" folder specified by me..i want when someone upload something it must be availab...
by amitdubey2
Sat May 22, 2010 4:13 am
Forum: PHP - Code
Topic: Can We connect to both locally & to Server at a time ??
Replies: 7
Views: 184

Re: Can We connect to both locally & to Server at a time ??

hello apolo,

What you said above it seems working ...but i am unable to get logic totally..
so can you be more clear regarding this by giving some example or reference.So that i can proceede further... :dubious:
And Thanks for your concern.





regards
amit
by amitdubey2
Sat May 22, 2010 2:01 am
Forum: PHP - Code
Topic: Can We connect to both locally & to Server at a time ??
Replies: 7
Views: 184

Re: Can We connect to both locally & to Server at a time ??

hello Apollo, by Apollo » Fri May 21, 2010 8:08 pm Yes, of course this is possible. Simply call mysql_connect twice, and use the appropriate connection resource when doing queries. As you said above, i think you are talking about choosing a connection either localhost or server in the same script ,I...
by amitdubey2
Fri May 21, 2010 6:40 am
Forum: PHP - Code
Topic: Can We connect to both locally & to Server at a time ??
Replies: 7
Views: 184

Can We connect to both locally & to Server at a time ??

Hi to all, Here i got a dilemma, when i am working on a project. Is it possible to connect localhost and to server with the same script at a time in php. Actually my client need a application in which when he locally operates on the software ...it must be updated in the serverside..without updating ...
by amitdubey2
Mon May 17, 2010 1:32 am
Forum: PHP - Code
Topic: how to create cookie for a shopping cart.
Replies: 1
Views: 231

how to create cookie for a shopping cart.

hello all, I am making a shopping cart using javascript and php.I have a problem ....when i have already added a item to shopping cart basket and want to add a new products in the basket...the product which was previously added is not shown in the basket.. how to came out this problem..??? I am usin...
by amitdubey2
Tue May 11, 2010 1:10 am
Forum: PHP - Code
Topic: how to use a javascript variable in a php page.
Replies: 15
Views: 1449

Re: how to use a javascript variable in a php page.

hello.. hypedupdawg ..

Hey where are you... :?: :?: :?: :(
Still waiting for your reply :idea: ...as i m unable to sort out this problem..please have a look if you have some time :roll: :roll:

Above I have attached file,which you needed. :!:

regards
amit :wink:
by amitdubey2
Tue May 11, 2010 12:47 am
Forum: PHP - Code
Topic: how to pass the variable through php header.
Replies: 20
Views: 17680

Re: how to pass the variable through php header.

hello apollo, first of all sorry for late replying ..bt i was nt well ..so couldnt reply..Anyways check this... :) :) by Apollo The last code I posted, what did it output? As you said i am commenting Please check the code... <?php include("includes/db.php"); include("includes/function...