[PHP] Web Services
Hi there, hope someone ini this list can help me out.. I had made a web services using Keith Devens library It's already run and OK... Now I try to make a client using ASP .NET to connect to my web services Did anyone know how to pull out the classes/function in my web services with kd_xmlrpc ?? like the google if we try to used the web services server we can see all the available function/class Thanks in Advance yamin - Original Message - From: "Boaz Yahav" <[EMAIL PROTECTED]> To: "David R" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 04, 2003 4:39 PM Subject: RE: [PHP] cookie question Go to your browsers setting and ask the browser to prompt before setting cookies. in IE go to : tools -> Internet Options -> Privacy --> Advanced --> Override automatic cookie handling. See if your page tries to set the cookie at all. If not, try to add : error_reporting(2039); maybe you are sending the headers before you set the cookie. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: David R [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 11:25 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] cookie question I tried it that way, and variations on it. I still have had no luck. Any other ideas? Thanks again David R Thanks for you he "Boaz Yahav" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Try setcookie("auth","$val",time() + 3600,"/",".avenew.com"); also look here : http://examples.weberdev.com/get_example.php3?count=67 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: David R [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 9:44 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] cookie question I have never read anything about a production server domain. How do I set the cookie for it? Thanks. David R "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > David R wrote: > > >Hello, > >I have a cookie question. > > > >I have the following code is a file called tc.php > > > > >global $HTTP_POST_VARS, $HTTP_COOKIE_VARS, $settings, $sql ; > >$val="123"; > >setcookie ("auth", $val , time() + 3600); > >$cookie = $HTTP_COOKIE_VARS['auth']; > >echo "cookie is: $cookie"; > >?> > > > >I have no problem retrieving the value cookie value ( 123 ) on my > >local machine but when I post to the internet I can't get the cookie > >value. > > > >Any ideas why? > > > Did you set the cookie for the production server domain? Cookies for > your local machine won't still be there once you upload, you know. > > -- > The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Active Page
your pages should be dynamic, meaning every time user open your page it keep on getting data from table how about using the Meta tags from html it will refresh you page in x seconds (define x as you need) On Thursday 22 August 2002 02:01 pm, Budi Kelana wrote: > Hi, > > I want to make a web page that can retrive data from my tables > automatically, periodically. > Does PHP have some timer control ? > I know we can do with JavaScript (setInterval() or setTimeOut()) but I > cann't join java script with PHP. > > I've tried make simple script with JavaScript to open new window that > contain PHP script for show current time every 5 seconds. > > function showData() { > newWindow = Window.open('data.php','screen'); > } > > function loadData() { > setInterval('showData()','5000') > } > > data.php : > >echo date("l dS of F Y h:i:s A"); > ?> > > in result, data.php will reload every 5 seconds, but it doesn't change. > > Can someone help me and give me suggestion ? > > TIA > > regards, > > Budi Kelana --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] get line from file
I got a file line like this This is a line1 this is a line2 this is a line3 this is a line4 how can i grep out the line1,line2,line3 ?? do anyone out there have any idea ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Installing MYSQL on Windows
you might want a phptriad (apache,mysql,php) find it in sourceforge On Tuesday 16 July 2002 06:15 am, Analysis & Solutions wrote: > On Mon, Jul 15, 2002 at 02:12:47PM -0700, Varsha Agarwal wrote: > > Can anyone tell me steps for installing MYSQL on windows ?? > > Very simple, step by step, instructions: > > http://www.analysisandsolutions.com/code/mybasic.htm > > --Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] rh 7.3
Thanks guysit's work now. On Wednesday 10 July 2002 04:39 pm, Chris Hewitt wrote: > Yamin, > > You probably chose not to install bison or flex when you installed > RedHat. They are on your CDs. > > HTH > Chris > > Yamin Prabudy wrote: > >Hi guys,... In configure PHP 4.2.1 on RedHat 7.3 I found this problem > >checking for ranlib... ranlib > >checking whether ln -s works... yes > >checking for gawk... (cached) gawk > >checking for bison... no > >checking for byacc... no > >configure: warning: You will need bison if you want to regenerate the PHP > >parsers. > >checking for flex... lex > >checking for yywrap in -ll... no > >checking lex output file root... ./configure: lex: command not found > >configure: error: cannot find output from lex; giving up > >[yamin@dusak php-4.2.1]$ > > > >what's wrong with it ??? > > > >thanks in advance > > > >Yamin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ?????????????????????????
how about all of us say *hi* to this erik hegreberg the fact we a a bunch of guys with manner so we all must say HI to erik ;-) On Wednesday 10 July 2002 03:40 pm, Mark Gallagher wrote: > Rodolfo Gonzalez wrote: > > To the kind moderator of the list: please kick off this guy (Erik > > Hegreberg <[EMAIL PROTECTED]> ), he's really annoying. Or at least > > bounce his e-mails back to him ;) ). > > Go for the bounce option ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] rh 7.3
Hi guys,... In configure PHP 4.2.1 on RedHat 7.3 I found this problem checking for ranlib... ranlib checking whether ln -s works... yes checking for gawk... (cached) gawk checking for bison... no checking for byacc... no configure: warning: You will need bison if you want to regenerate the PHP parsers. checking for flex... lex checking for yywrap in -ll... no checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up [yamin@dusak php-4.2.1]$ what's wrong with it ??? thanks in advance Yamin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] stupid dude
Hmmm some stupid dude land in this mailing list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Fwd: [PHP] Please HELP on SUID HELP
I used a script from PEAR to adduser/deluser/change password the problem is the password file ini mode 600 and I run the script from web I had turn on the safe_mode = on safe_mode_gid = on the running script had a same UID GID with the password file when I try it There a alot of error... from reading the password file and I can't change the password cause it said no permission to do that can anyone help me with this suid stuf Thanks in Advance Yamin Prabudy --- PRONET INTERNET SERVICE PROVIDER http://www.pro.net.id --- --- PRONET INTERNET SERVICE PROVIDER http://www.pro.net.id --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] HELP on SUID
I used a script from PEAR to adduser/deluser/change password the problem is the password file ini mode 600 and I run the script from web I had turn on the safe_mode = on safe_mode_gid = on the running script had a same UID GID with the password file when I try it There a alot of error... from reading the password file and I can't change the password cause it said no permission to do that can anyone help me with this suid stuf Thanks in Advance Yamin Prabudy --- PRONET INTERNET SERVICE PROVIDER http://www.pro.net.id --- --- PRONET INTERNET SERVICE PROVIDER http://www.pro.net.id --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] SUID ROOT
Hi there, I used rasmus script (PEAR) (with a change a little bit to fit to FreeBSD) to adduser/changepassword/verifypassword for my user from web I got some problem with the SUID to read the file and rewrite the file from the web i had set the safe_mode = On safe_mode_gid = On in php.ini and the script already own my root.wheel can anyone enlight me ? Thanks in advance Yamin Prabudy --- PRONET INTERNET SERVICE PROVIDER http://www.pro.net.id --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] regex
Hi I like to ask something say i got this line b = bla.net a = blabla.com (a and b NOT a variable) i want to use php to take the second line and want to grep the blabla.com how can i do that Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] spliti
hi guys, I need help here. I got this $line = "no more words to say"; then I want to split them all I used spliti(" ",$line); Then want to print it out say echo $word[0] $word[1] $word[$i]; how can I do this.. Thanks in Advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] select join table on mysql
hi i have to select this : $t2=mysql_db_query($db, "SELECT radacct.UserName,sum(radacct.AcctSessionTime) as t1,usergroup.GroupName ". "from radacct LEFT JOIN usergroup ON radacct.UserName=usergroup.UserName where". "usergroup.GroupName='unlimited' AND radacct.AcctStartTime>='2001-$month-01 00:00:00'". "AND AcctStopTime<='2001-$month-31 23:59:59' group by UserName"); when i do it in mysql database it already give me result and thereis about 400 rows. but when i want to generate it fetch the array there is a error Supplied argument is not a valid MySQL result resource in ./stats.php on line (bellow is the line $x=mysql_fetch_array($t2); what might be possible wrong with the code..(it just a simple one) Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] GD, PNG
I try to compile againts PNG and JPEG and for web inteface i had install zlib and png and jpeg then gd but still have no sucess on it On Thursday 22 November 2001 09:03, you wrote: > The operating system you are using would be nice to know- and wether its > for apache, cgi-bin, or whatever. > > Most unixes (and it looks like you got a unix) have zlib in /usr not > /usr/local. > Quite a few already have gd and libpng in /usr as well. > > That's why it would be nice to know what your build environment is. > > Anyway, I'm pretty sure that you need to make sure gd is compiled against > png. > > On my system, for example, my gd library is compiled with png, jpeg, and > FreeType2 support. > Secondly- if your system is darwin, you need to fix a few things. > > First, run ranlib on /usr/local/lib/libpng.a > > Then you can build gd against it. > Then, though, you need to do the same to libgd > > ranlib /usr/local/lib/libgd.a > > note that the above is only needed on Darwin. > That is properly done on most other unixes for you (in fact, most unixes > compile those as shared libraries) > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] GD, PNG
Hi there I try to setup GD and PNG and Zlib to work with my PHP 4.06 but still no sucess can anyone point me out how to do that, or a website that contain step by step instruction in the configure line i used this options --with-gd=/usr/local --with-png-dir=/usr/local/png --with-zlib=/usr/local installing those three items i just used make and make install so everthing must go to /usr/local thanks for the help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] tail a file
Hi there I need help here I got a file say it's a logs file and keep update ever changes I need to tail this files and pharse it into web, so I can see this the update without login into server (jst thru web browser ) how can i do this Thanks for Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] something about the documentation
Hi there there is something missing in the documentation. in this case is about mysql here is the source that i paste from the website -- $link = mysql_connect("mysql_host", "mysql_login", "mysql_password") or die ("Could not connect"); print ("Connected successfully"); mysql_select_db ("my_database") or die ("Could not select database"); $query = "SELECT * FROM my_table"; $result = mysql_query ($query) or die ("Query failed"); --- as i see the $link that do mysql_connect had been state but never been call in the progress such as mysql_select_db("my_database") [ sould be mysql_select_db("my_database",$link) ] so i assume that there wouldn't be any connection to mysql. sorry if i'm wrong but for the newbies it's can be a miss guide Thanks in Advance Yamin Prabudy
Re: [PHP] Re: upgrading from 4.03 to 4.06
Ok this is my error line...once again when I used 4.03 this script is already run...but got problem when i upgrade itu to 4.06 $db="database"; $connectid=mysql_connect(bla,bluh,foo); mysql_db_query($db,"UPDATE profile SET FullName='$FullName',Gender='$Gender',Birthday='$Birthday',". "Address='$Address',HomePhone='$HomePhone',CelPhone='$CelPhone'". " WHERE id=$profile->id",$connectid); - Original Message - From: Richard Lynch <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 13, 2001 4:46 AM Subject: [PHP] Re: upgrading from 4.03 to 4.06 > You'd have to show us every line that mentioned $connectionid for us to > figure out where it disappeared... > > -- > WARNING [EMAIL PROTECTED] address is an endangered species -- Use > [EMAIL PROTECTED] > Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm > Volunteer a little time: http://chatmusic.com/volunteer.htm > - Original Message - > From: Yamin Prabudy <[EMAIL PROTECTED]> > Newsgroups: php.general > To: <[EMAIL PROTECTED]> > Sent: Friday, August 10, 2001 10:57 PM > Subject: upgrading from 4.03 to 4.06 > > > Hi there > recently I had upgrade my php from as you see in the subject > > and I have a problem raise after I do some upgrading > my php script already run OK when I used the previous version > after I do the upgrading a lot of error raise > here is how I configure > /configure --with-mysql=/usr/local --with-apxs=/usr/local/apache/bin/apxs -- > enable-memory-limit --enable-ucd-snmp-hack --with-snmp=/usr/local/snmpd --en > able-discard-path --enable-force-cgi-redirect --enable-trans-sid > > > the problem is like this > > on the beginning of the script i declare > $connectid=mysql_connect(bla,bla,bla); > > and at the end (still the same page) > I used this > mysql_db_query($db,"query",$connectid); <-- here is the error come up > seems like the $connectid variable that I declare in previous didn't parse > till the end.... > then I put the $connectid=mysql_connect(bla,bla,bla); > before the query then everything is OK.. > > can any body point me out where did I go wrong...I'm sure my script is > OK..it's run in version 4.03 but got error in 4.06 > > Thanks in Advance > > Yamin Prabudy > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: problem with session start
OK i can see your problem you are using windows. then in the php.ini you must set where to put the session file. it's somewhere around with line like this session.save_path = /tmp change it to something like session.save_path = c:\tmp of cause you must make the tmp directory first good luck Yamin Prabudy - Original Message - From: Balaji Ankem To: [EMAIL PROTECTED] Cc: Yamin Prabudy Sent: Friday, August 10, 2001 3:10 PM Subject: problem with session start Hi! friend, i got the following error when i am goint to start a session. This is the file. and i got the following errors. Warning: open(/tmp\sess_4a3f421e3a28de6801941743c0632862, O_RDWR) failed: m (2) in c:\www\login.php on line 2 Warning: open(/tmp\sess_4a3f421e3a28de6801941743c0632862, O_RDWR) failed: m (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 login.php function check(){ if (document.login.emp_id.value=='') { alert('Please enter your employee number'); document.issue.emp_id.focus(); return false; } else if(document.login.emp_pass.value=='') { alert("Please enter the password"); document.issue.emp_pass.focus(); return false; } else { document.login.method = "POST"; document.login.action="<A HREF="http://10.145.2.23/authentication.php"">http://10.145.2.23/authentication.php"</A>;; document.login.submit(); return true; } } WELCOME TO IMAC TOOL Employee No: Password :
[PHP] HELP...session
Hi there I need help about session see i have a page (index.php) that used this session_start(); session_register(username); and i got input username after the submit button is click i move into a frame pages.. then in the frame i define again session_start(); for each frame...i got two frame.. i intended to parse the username into my frame...but got nothing i intended to parse the username all over the pages (in frame) until he/she log out can anyone help me with it Thanks in Advance Yamin Prabudy
[PHP] number generat {Luhn algorithm}
anybody know about the Luhn algorithm ?? how can i do that in php yamin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] number generator
Hi there I would like to generate numbers (random) like a credit card number and can be check is the number valid or not how can i do that.. yamin prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] date HELP !!!!!
hi, how do i check that the current date is the end of month Thanks in Advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] date
Hi, how do i check that the current date is the end of month ? thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] posix_getpwnam()
Hi there. i have a script like this #!/usr/local/bin/php Problem when run SETUID if i run as root it's ok but if i run as diffrent user it's won't run ok i know it's a problem on the permission i set is to chmod 4750 in perl it should run as root...but in php not so how can i fix this when i run not as root it will just be fine and give me the result i want OS if i run on freebsd .no problem if i run on RedHat (shadow password) i can get any think how do posix deal with shadow password Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] setuid
sorry i might miss the discussion bout setuid can anyone give me an help on how to run suid root while i have script that run by apache i had alread set the file like this -rwsr-xr-x 1 root www 384 Jul 2 16:36 test but no luck Thanks in Advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] using ereg
Hi there I need some hand here... I'm trying to write a script that call wget about like this $filename="someurl"; $get=`/usr/local/bin/wget -t0 -c $filename`; while (ereg("saved",$get)) { echo "file get"; } from wget program i get this kind of output 0K -> .. .. .. .. .. [ 1%] 50K -> .. .. .. .. .. [ 3%] 100K -> .. .. .. .. .. [ 5%] 2850K -> .. .. .. .. .. [ 99%] 2900K ->[100%] 13:27:47 (2.61 MB/s) - `aacrip_f.zip' saved [2969697/2969697] i need to get the saved word to indecated the download is done how can i do this...or there is another method to do this... Thanks in Advance...Yamin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] error in running apache while --with-apxs is a config option
i got this error Syntax error on line 205 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: Undefined symbol "alloc_globals" can anybody help me fix it i used php4.05 with apache 1.3.20 with ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local the configure and make process is just OK no error.... Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] grep all pages
Hi there I like to know can i grep a page say on http://www.somedomain.com (just the index.html) if it's possible can any guru out there enlight me how to do that Yamin Prabudy ===_ _ ___ ___ __ / |/ / __/_ _ / Internet / _ \/ __/ _ \// _ / / /For The / .__ /_/\___/_/|_ /___/ /_/ Profesional /_/ http://www.pro.net.id -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] MD5 password
Hi there assume that I had a password field in md5 format like this $1$uJ8d$jJKOHnfh^79824/. how do i compare an input password to the password that I sore in database so it can return right or wrong password thanks Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] help me pls
I write a script for dealing with a form and the algorithem will look like this if (isset($somthing)) { the form is here and user input it } if($filter_in_the_form == 'something) { print the 1st } elseif($all_condition_done == 'OK') { print the 2nd } else { print nothing done } when i run it the first condition are done,OK then i input my data in the form then the $filter_in_the_form checked up something and so another form then i input the data.after i submit it should print out all the data then I input as a result but the thinks happen is then result of my input data print out with the 2nd form how do I print out the data with out showing the 2nd form ??? in perl when i used cgi i just define cgi->new Thanks in Advance Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] help on select
Hi there I had a problem here I got a database in mysql that contains the date format like this "Mar 12 2001" now i try to sort the database and find out how many data in my MySQL that had a date > "Mar 12 2001" how can i change that kind of format so i can compare the data in unix time stamp format Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] sending mail with PHP from web
hereis my code, mysql get all the user data at once and send it at once to prevent my sistem from crash i add the sleep 2 mysql_connect($hostname,$mysqluser,$mysqlpassword); $result=mysql_db_query("radius","SELECT * FROM profile"); while ($rows=mysql_fetch_array($result)) { $to=$rows["UserName"]; mail("$[EMAIL PROTECTED]","$subject","$mail","From: [EMAIL PROTECTED]"); sleep(2); } echo ""; echo " Sending Mail in Progress ..."; echo ""; - Original Message - From: Jon Haworth <[EMAIL PROTECTED]> To: 'Yamin Prabudy' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 5:24 PM Subject: RE: [PHP] sending mail with PHP from web > Can we see some code? I run a very similar thing (sending mails to around > 500 people whose details are stored in a MySQL database and accessed via > PHP) - the only difference is my OS is NT4 not FreeBSD. > > > -Original Message- > From: Yamin Prabudy [mailto:[EMAIL PROTECTED]] > Sent: 07 February 2001 02:58 > To: PHP List > Subject: [PHP] sending mail with PHP from web > > > Hi there,... > i had make a web interface to send announcement mail to my customers,..rite > now i had about 500 > once I send mail to my customers my server hang ( i guess to much open > file)...i complie by kernel again to get a big descriptor, but still worried > about the hang problemi put a delay in my program so it send a mail and > delay in x time, but i get a web error and my mail stop sending in my > customer number 300 > > sorry for the broken english > > can any one help me with this kind of problem... > i get my customer from mysql table, using freebsd4.1 and php4 > > Yamin Prabudy > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] sending mail with PHP from web
Hi there,... i had make a web interface to send announcement mail to my customers,..rite now i had about 500 once I send mail to my customers my server hang ( i guess to much open file)...i complie by kernel again to get a big descriptor, but still worried about the hang problemi put a delay in my program so it send a mail and delay in x time, but i get a web error and my mail stop sending in my customer number 300 sorry for the broken english can any one help me with this kind of problem... i get my customer from mysql table, using freebsd4.1 and php4 Yamin Prabudy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]