[PHP] sorri- Non-php question

2001-03-21 Thread John LYC
Sorry guys... this is not a php question... but this is by far the best web resource i have seem...so here goes.. does anyone here know of any mailing list for perl or JAVA...? any great web resrcs/website? anyway, so far.. i still think php official website provides the best resource for their

Re: [PHP] Newsletter kindaa thing

2001-03-20 Thread John LYC
while($r=mysql_fetch_array($result) $to .=$r['email'].","; mail($to,); Dhaval Desai wrote: > Hi@ > > I have a database in whih I have a lot of emails. What > I want to do is basically a small newsletter kindaa > thing which is to be mailed to all the emails which I > am goingto pick

Re: [PHP] get name of file

2001-03-19 Thread John LYC
$PHP_SELF returns the file name.. go to php website manual and serach for it.. john Matthew Delmarter wrote: > How do I return the name of a file without any extensions or path info. > > Eg how do I return "about" from "http://www.domainz.com/about.htm". > > Regards, > > Matthew Delmarter > > -

Re: [PHP] Good Free PHP Editor?

2001-03-11 Thread John LYC
http://www.ultraedit.com not free.. but worth the nominal fee Andrew Halliday wrote: > Does anyone know of a good PHP enabled editor that fits the following > criteria:? > > (in order of importance) > - Is free > - Runs under Windows > - Has colors (syntax highlighting) > - Can edit multiple f

Re: [PHP] Re : [PHP] NETSCAPE screws QUERY STRING

2001-03-04 Thread John LYC
try this printf(" ", urlencode($myrow[title])') john "Thomas Edison Jr." wrote: > The urlencode() is working fine with an echo statement > & normal query string. > > But it's NOT working with complex query string in > printf() including $myrow[something] being picked up > by mySQL db. > > this

Re: [PHP] simple OO question

2001-03-04 Thread John LYC
and it should be a working demonstration > ... > > You should read the php manual more ... > see > www.php.net > > AndrewH > - Original Message - > From: "John LYC" <[EMAIL PROTECTED]> > To: "PHP List" <[EMAIL PROTECTED]> >

[PHP] simple OO question

2001-03-04 Thread John LYC
can i do this..? //declaring class class myclass{ //declaring properties ... //declaring methods.. function mymethod(){ //can i declared variable in method? var $myvar; ... //do something }//end of mymethod /// if yes, do i access myvar like this. $item = new myclass;

[PHP] image issues

2001-03-02 Thread John LYC
GIF89a ÷ƺ–ÿÛQßΦ¶¦ŠM=ÿãqÿßaçßÂκš–Šuÿãu÷ï릚}- ®¢†Æ¶–meY®ž†‚yiqmYÿãeyuqïç×ÿ×Aÿãyÿ玎y5¾²–ÿÛMÿ×5ׯ¶ïëÛ¾–Žqï׆žŽmÿÛ=ß×ÛiUÿÒ$Φ¶®–ÿÛEðð b&X¤D¢¯âWÏÀbð¨h7‘?€“€“˜@?J ?—3/?@(?,èpA€¥Ðú€‚ÏJ›Bxڑ@¯3?à U«Ù¾*»õ?Y âz1‚‚ &ü¥! ¼\ Ó@@; i have the above in my database,

[PHP] images problem

2001-03-01 Thread John LYC
i uses the following method to display an image draw from database.. set_magic_quotes_runtime(0); $query = "select diagram from $QuestTab where qns_id = '$QnsID'"; $result = @MYSQL_QUERY($query); $data = @MYSQL_RESULT($result,0, "d

Re: [PHP] image file prob

2001-02-28 Thread John LYC
thanks for the info... well. what i did was to fread the files and store them using sessions variables. at the end of the process. .. i do a walk thur the array and insert them into the DB... john John LYC wrote: > hi.. > i have a form that allow users to upload several image

Re: [PHP] logout

2001-02-27 Thread John LYC
for cookie... just setcookie() of the same cookiename to null; "Jacky@lilst" wrote: > I have php site that user is required to login, but I don't have logout function >yet. Is there anyone know the most practical way of logout method that people use >nowadays?, in php I mean. There is no sess

Re: [PHP] logout

2001-02-27 Thread John LYC
if you are using session session_destroy might do the trick... "Jacky@lilst" wrote: > Sorry, it was my mistake. There is session used to store userID and password > after the successful login. I don't under stand what you mean about to clean > up variables, how? > Jack > [EMAIL PROTECTED]

Re: [PHP] good ide?

2001-02-27 Thread John LYC
try ultraedit32... http://www.ultraedit.com john Luke Loeffler wrote: > Does anyone know of a good PHP ide? I've tried PHP-Coder, but it has bugs > stem to stern, not the least of which mysteriously deleted an entire page of > code... PHP Script editor I've also tried, but it is barren and in

[PHP] simple session question

2001-02-26 Thread John LYC
does session_register() "over-write existing variable of the same name...? for example.. //count already registered and holds value 3. session_register("count"); print $count; //output null; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

[PHP] how to keep variable "alive" thur pages?

2001-02-26 Thread John LYC
hi all, how do i keep an array of variable "alive" thru different pages... array is assigned with value at say index.php... user will move from tat page to say index2... index3... index4.php.. in index4.php i can still access the array... thanks.. -- PHP General Mailing List (http://www.php

[PHP] image file prob

2001-02-26 Thread John LYC
hi.. i have a form that allow users to upload several image files. every time they submit, i do fread them and assign them to an array... this array will be passed on until user confirmation.. then i insert into database as blob type //freed image file and assign to array. $diagram[$ind] = ad

[PHP] multiple file upload..

2001-02-26 Thread John LYC
i have a situation. i hope im clear abt this. i need to post multiple set of data elements into php. each set consists of data elements of text, textarea, radio buttons, checkboxes and even a file(image). most fields are optional. all sets are not subset of each other but belongs to the same univ

Re: [PHP] Escape %

2001-02-25 Thread John LYC
there is addslashes(); http://www.php.net/manual/en/function.addslashes.php john [EMAIL PROTECTED] wrote: > Hi, > > Anyone know the best method to escape the % sign in PHP? > > I`ve checked the manual and devshed and didn`t come across much, is there a > command like addslashes() or would I h

Re: [PHP] limitation of file upload??

2001-02-13 Thread John LYC
> Ankur VermaHCL TechnologiesA1CD, Sec -16Noida, UPIndia > - Original Message - > From: "John LYC" <[EMAIL PROTECTED]> > To: "PHP List" <[EMAIL PROTECTED]> > Sent: Tuesday, February 13, 2001 3:24 PM > Subject: [PHP] limitation of file upload?? &

Re: [PHP] limitation of file upload??

2001-02-13 Thread John LYC
ur VermaHCL TechnologiesA1CD, Sec -16Noida, UPIndia > - Original Message - > From: "John LYC" <[EMAIL PROTECTED]> > To: "PHP List" <[EMAIL PROTECTED]> > Sent: Tuesday, February 13, 2001 3:24 PM > Subject: [PHP] limitation of file upload?? &

[PHP] limitation of file upload??

2001-02-13 Thread John LYC
is there limitations on file upload.. such as file size when using ??? thanks -- 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] checking for presnet file name

2001-02-11 Thread John LYC
is there a pre-defined variable that return present php file name... for example... url : www.domain.com/mypage.php $var == "mypage"; thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] SQL question

2001-01-30 Thread John LYC
hi all, does mysql support this? select * from tablename where id in (select id from table2 where cond) thanks -- 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

Re: [PHP] can .inc run php script?

2001-01-29 Thread John LYC
THANKS EVERYONE!!!... John LYC wrote: > hi all, > > can .inc file run scripts... > > example... > > //config.inc > > function watever() > { > //do something > $var = something; > return $var; > } > > thanks > > -- > PHP Gener

[PHP] can .inc run php script?

2001-01-29 Thread John LYC
hi all, can .inc file run scripts... example... //config.inc function watever() { //do something $var = something; return $var; } thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[PHP] can .inc run php script?

2001-01-29 Thread John LYC
hi all, can .inc file run scripts... example... //config.inc function watever() { //do something $var = something; return $var; } thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

[PHP] problem with file upload

2001-01-19 Thread John LYC
hi, i have a situation where i need to upload 3 img file within an array that is within another array. 2 di-array i have no problem with only variable type and value but its not working with type="file". here's my code "; //this is working print ""; //this is not } } ?> i can get