[PHP] php can do this

2007-05-12 Thread suresh kumar
Hi, I want to know whether its possible to implement this functionality in PHP and MySQL.. I will allow web users to download one .bat file from my Application. This .bat contains something like this 'c:\\program files\Internet Explorer\iexplore.exe' http://x.com/download.php"

[PHP] Application support both chinese and english lang

2007-05-12 Thread suresh kumar
Hi, I am developing one application using PHP and MySQL.Right now my application supports English language.i like to integrate chinese language in my application.i like to implement similar to this website. http://www.dynasign.net.cn/dynasign/login.do 'Language' comb

[PHP] unicode help

2007-05-08 Thread suresh kumar
Hi, Right now my application supports 'English' Language version,i like to integrate 'chinnese' language in my application.My Application is running from PHP and mysql.I don't have any idea regarding this unicode implementation.whether we can implement using javascript or PHP.I am l

[PHP] Mysql_free_result() doubt

2006-09-26 Thread suresh kumar
Hi to all, I am little bit confused to use the mysql_free_result($result) function.because i searched google - they told dont use this function to php 4.X and also it says clearly "When you are done with a result set, you must free the memory it uses by calling mysql_free_result()

[PHP] mail() help

2006-09-12 Thread suresh kumar
$sendmessage,$headers); Christopher Weldon <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 suresh kumar wrote: > Hi to all, > i am having one doubt regarding php mail function.i am using php mail() > function to send mail to the users.but when i send mai

[PHP] mail() help

2006-09-11 Thread suresh kumar
Hi to all, i am having one doubt regarding php mail function.i am using php mail() function to send mail to the users.but when i send mail throught php its going to the users bulk folder but not to the user inbox.i dont know the reason. Is there any setting that is

[PHP] doubt - session file size

2006-07-19 Thread suresh kumar
Hi, I am having one doubt,i am using session variable for storing details.but i am afraid if there is around 1 users,wherether session will be able to store all the datas of 1 users,as i know abt session is that a temporary file will be created in /tmp directory with session id na

[PHP] image upload problem

2006-06-29 Thread suresh kumar
Hi, This is the code i am using for image upload. if ($_FILES['ufile']['name'] != NULL) { $FlName= $_FILES['ufile']['name']; if(!is_uploaded_file($_FILES['ufile']['tmp_name'])){ print " alert(\"Error! The expected file wasn't loaded\"); ";

[PHP] login problem

2006-06-23 Thread suresh kumar
Hi, I am facing one problem.i previously mailed ,but there is no response,its running out of time.i want to implement that logic as soon as possible.This is my problem We are developing an online software for displaying ads in big mall.I want to restrict only one user

[PHP] User Login Problem

2006-06-20 Thread suresh kumar
Hi, I am facing one problem in my project.i want to restrict more than one user login in the same account .Is there any functions available to check r we can implement using session. A.suresh

[PHP] calling JS function from php

2006-05-24 Thread suresh kumar
I am facing one problem in my project.I am trying to call a javascript function from php.but it not executing.this is my code. function clientTime() { var cNow = new Date(); var cHour = cNow.getHours(); var cMin = cNow.getMinutes(); var hour= cHour +

[PHP] file permission error

2006-05-22 Thread suresh kumar
Hi, I am facing one problem in my project.I am uploading an image .its get storing in DB.i am storing images in /tmp folder as file.while i am retrieving a image its displaying file permission error."fopen() could not open socket.file permission error".

[PHP] IPN error

2006-04-29 Thread suresh kumar
Hi, I am new to this IPN (instant payment notification.I am working for past 6 hours.I am using this IPN to store payment details in our database. when user clicks the paypal button in my page.it will take to paypal.com website.after user completes the payments.It will send the payment deta

[PHP] array problem

2006-04-22 Thread suresh kumar
sorry.earlier i mistyped some values. I am facing one project in my project . this is my code: a=array(0=>10,1=>10,2=>40,3=>30,4=>30,5=>10); b=array(); b=array_unique($a); print_r($b); o/p getting from above code is b[0]=10,b[2]=40,b[3]=30,b[5]=10; but i want t

[PHP] unique array problem

2006-04-22 Thread suresh kumar
I am facing one project in my project . this is my code: a=array(0=>10,1=>10,2=>20,3=>30,4=>30,5=>40); b=array(); b=array_unique($a); print_r($b); o/p getting from above code is b[0]=10,b[2]=20,b[3]=30,b[5]=40; but i want the o/p be b[0]=10,b[1]=20,b[2]=30,b[3]=40;

[PHP] unicode

2006-04-14 Thread suresh kumar
Hi to all, we completed one module of our project in English language.but our client asked to do it in chinesse language also.I dont have any idea regarding this.whether we have to download any chinesse fonts or is there any tutorials available for this purpose.or project is in PH

[PHP] page expire error

2006-03-27 Thread suresh kumar
Hai, i am facing one problem in my project.I am using 2 pages for search operation. In Search page 1: i am having 3 fields say Company name,state,country. when user enters search key in their corresponding field and press submit button. search result will be displayed in

[PHP] session_cache_expire()

2006-03-16 Thread suresh kumar
I searched php.net/session and weberdev website and implemented session_cache_limiter() and session_cache_expire() function.but i am not getting the output what i want.i spend whole day on searching.any one give the solution for my problem in windows,if user idle for 1 minute,his desktop screen i

[PHP] to check idle time of users

2006-03-15 Thread suresh kumar
in windows,if user idle for 1 minute,his desktop screen is changed to screen saver.i like to implement the same logic in my project if user is idle for 3 minutes its session will have to automatically destroy.i am waiting for or response.

[PHP] string to integer conversion

2006-03-15 Thread suresh kumar
i am facing one problem in type casting. $accno="2927"; $accno=$accno+1; its o/p is 2928. but i want output to be 2928.i am waiting response from u. __ Yahoo! India Matrimony: Find your partner now. Go to http://yah

[PHP] session register()

2006-03-11 Thread suresh kumar
i am facing two problems in my project. 1) whether i can store variable as session variable inside javascript function 2)Is there any function available to calculate idle time of user . i am waiting for reply from u --

[PHP] session handling

2006-03-09 Thread suresh kumar
i am having one problem in session handling. I am having 2 files,login page and hame page. when user enterd user name and password in login page .i used session to store the user id .in my second home page.i retrieve the user id.now i want the user id to be availble in my thrid page.plz help me.thi

[PHP] encrypt and decrypt in php

2006-03-07 Thread suresh kumar
I searched google,weberdev and php.net sites. i implemented the 2 encrypt and decrypt functions mcrypt_encrypt(),mcrypt_decrypt() and mcrypt_ecb() functions.but it not working properly.i dont need more complicated encrypt and decrypt functionality.just i want to encrypt my user id when i pass f

[PHP] doubt regarding link

2006-02-25 Thread suresh kumar
i am having back to home link ,by default its status is 0 in "mail table " database .when any user click the back to home link.i want to change status =1 in user table.is there any possible to call php function in javascript.i am using javascript onclick function.but javascript is not support

[PHP] doubt in mail() in php

2006-02-13 Thread suresh kumar
this is my code if(@mail('[EMAIL PROTECTED]','subject','hai this is the test','[EMAIL PROTECTED]')): print "mail sent succesfully"; else: print "mail can send"; endif; i dont know whether there is any problem with my coding or server problem.both from

[PHP] doubt in mail function

2006-02-13 Thread suresh kumar
hello everybody, i am having one doubt in sending mail in php.in my company our mail server is in windows,but my php code for mail function in linux,i set the code as if(@mail('[EMAIL PROTECTED]','hi suresh','this is test','From:[EMAIL PROTECTED]')): both from and to addr

[PHP] static variables

2006-02-09 Thread suresh kumar
hai everbody i am facing a problem with static variable. i declared $count=0 as Static variable,when i click the link specified in anchor tag my page is refreshed again and static variable lose its value and assigned with 0.i want the logic code say my stsic variable will not lose sco

[PHP] static variable declaration

2006-02-09 Thread suresh kumar
hello everybody, I am having one doubt in static variable declaration,whether static variable works only with in the function if that function is called more than one times.this is my code facind problem. STATIC $m=0; if($m==0): $m=$m+1; print "n

[PHP] global variable declaration

2006-02-08 Thread suresh kumar
hai, this is my sample code: i am having user table with SponsorID as one field in mysql database,this is my query; for($j=0;$j<5;$j++): $result=mysql_query("select * from user where SponsorID='$id[$j]' "); endfor; in above code when

[PHP] variables in PHP

2006-02-02 Thread suresh kumar
hi, In my project i assigned name of the text field as 'loginform'.but i got error msg like 'Undefined variable' then i changed the name as 'hiddenfield' but same error.any one having idea reply me. A.suresh

[PHP] query regard forms in PHP

2006-01-29 Thread suresh kumar
hai, i am having 3 files,namely page1,page2 and page3,when i enter username and password in my first page i want 2 display my username and password in my third page through second page. A.suresh

[PHP] query regarding forms

2006-01-28 Thread suresh kumar
hi, i am having 3 files Login.php,home.php and home1.php when i entered username and passwd in my first login page i want want i entered as username and passwd in my third page ie home1.php. A.suresh

[PHP] doubt regarding while loop

2006-01-27 Thread suresh kumar
hi, for eg while(list(t1,t2,...)=mysql_fetch_row($result)): endwhile; while i use $t1 ouside while loop ,its corresponding value is not displaying,how can i display the value of $t1. A.suresh

[PHP] help me pllzzzzzz

2006-01-18 Thread suresh kumar
hi, i am having 2 combo box one for city & another one for country,when i select particular country say "india" their corresponding cities will be displayed in city combobox as "delhi,bangalore.",when i select "Australia" thier cities like "perth,brisbane"will be displayed.plz

[PHP] help me plz

2006-01-18 Thread suresh kumar
hi, i am using 2 combo box one for country & another one for city.when i select country name from combo box their corresponding city names has to be changed in their corresponding combo box.i dont know how 2 implement this.pz give me some idea.its urgent. A.suresh

[PHP] how 2 open File Browser window in PHP

2006-01-16 Thread suresh kumar
hi, i dont know exact PHP code for how 2 open file browser window to uplad file or an image plz help me.its very urgent. A.suresh Send instant messages to your online friends http://in.messenger.yahoo.com

[PHP] how 2 stroe images in Mysql Database using PHP

2006-01-16 Thread suresh kumar
Hi, i dont know how 2 store images in gif/jpeg format in Mysql Database.i also want 2 know PHP Code 2 store images in Mysql Database .reply me soon its very urgent . A.suresh Send instant messages to your online friends http://in.messenger

[PHP] help plz

2006-01-15 Thread suresh kumar
hi, i am working as a web designer in PHP & Mysql.i know the basics of PHP & Mysql,i want 2 become PHP Expert,i am planning to buy one Book,but i dont know which book 2 buy.plz give me info . A.suresh Send instant messages to your online friends http://