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 from
$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
--
PHP
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 files
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;
--- Original Message -----
From: "John LYC" [EMAIL PROTECTED]
To: "PHP List" [EMAIL PROTECTED]
Sent: Monday, March 05, 2001 1:36 PM
Subject: [PHP] simple OO question
can i do this..?
//declaring class
class myclass{
//declaring properties
...
/
try this
printf(" a href=\"pro_page1.php3?title='%s\" ", 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
GIF89a QM=qauu}-
meYyiqmYeyuqAyy5M5qm=iU$E
bXDWbh7?!`
*.X?XbXM!, 18p \?
p?ApA 4dX??$(P@? (A @?J
?3/?@(?,pAJBx@3? U*?Y z1
! \ @@;
i have the above in my database,,...
it is a gif.. that i
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,
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 files
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]
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
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
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] =
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
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]
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 have
is there limitations on file upload.. such as file size when using
input type=file???
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
submit" VALUE="Send File"
/FORM
consult the following section of the php manual for more info
http://www.php.net/manual/en/features.file-upload.php
hope that helps
regards
Ankur VermaHCL TechnologiesA1CD, Sec -16Noida, UPIndia
- Original Message -
From: "John LYC
INPUT TYPE="submit" VALUE="Send File"
/FORM
consult the following section of the php manual for more info
http://www.php.net/manual/en/features.file-upload.php
hope that helps
regards
Ankur VermaHCL TechnologiesA1CD, Sec -16Noida, UPIndia
- Original Message -
Fro
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
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,
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
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 General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
23 matches
Mail list logo