[PHP] Arabic+Unix+phpdig

2001-07-31 Thread kaab kaoutar


Hi!
I'd like to use phpdig but it can be used under unix or linux!
However i' planing to use beside french, and englich , Arabic!
However as far as i know under unix does not support Arabic! am i right?
How can i fix this pronlem! if there is no way ! are there tools equivalent 
to phpdig under windows (php/mysql)?
Thanks


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] search my site

2001-07-26 Thread kaab kaoutar


Hi,
I have a web site that contaains html files and mysql dbs!
I'd like to integrate a search tool in my site !
Can u point me to some already done tools tha t i can use, or ideas that can 
help me ?
Thanks


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] download a pdf file

2001-07-26 Thread kaab kaoutar

Hi
I looked in the php manual for how to download a file
bbut in vain.
Thanks


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] Re: download a pdf file

2001-07-26 Thread kaab kaoutar



Maybe ?!
I tried it
it gives me an error in that line
header(Content-Disposition: filename=\$file\);
But how when i click on  a button, the dialog box for downloading appear?
Thanks

From: Fredrik Arild Takle [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Re: download a pdf file
Date: Thu, 26 Jul 2001 13:35:38 +0200

Like this?

?php

header(Content-Type: application/download\n);
header(Content-Disposition: filename=\$file\);
$fn = fopen($file , r);
fpassthru($fn);

?

Best Regards
Fredrik A. Takle
Bergen, Norway

Kaab Kaoutar [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hi
  I looked in the php manual for how to download a file
  bbut in vain.
  Thanks
 
 
  _
  Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp
 



--
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]



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] Arabic+php+mysql

2001-07-26 Thread kaab kaoutar

Hi
I'd like to translate my french to site to an arabic one!
I used php and mysql!
Can u help me a bit pls?
Obviously mysql supports arabic ok!
but i have i use phpdig to search my site and i also search my mysql
dbs!
how can i display arabic from mysql to php files as result of a
query without the user's pc os supports arabic ?
Thanks



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] Arabic php

2001-07-26 Thread kaab kaoutar


How to display Arabic ina php file ?
I mean in a pc who's os does not support arabic, how a user can watch my 
arabic php file
Thanks


_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] asp to php

2001-07-26 Thread kaab kaoutar


Does anyone of u has alreday tried successfully converting aso file to php 
file ?
Is it worth doing so or restarting from scratch?
Thanks

_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] phpMyNewsLetter

2001-07-26 Thread kaab kaoutar

Hi
Is it worth using phpMyNewsletter or rather implementing a newsletter using 
php by my own!http://jesuislibre.org/progdetail.php3?idprog=28
or try another one that u suggest!

Kowing that i'm creating a site for a company so that the company whi'll 
manage it, i mean insert newsletters !

Thanks



_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
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] confused with sessions

2001-06-22 Thread kaab kaoutar

Hi!
I'm confused with these sessions :(
well here is what i want to do!
I have a web site whos pages are all composed of frames(4)!
and in the top frame i have the loggin button!
i want , once the user logged, the fees that are in pages (frames) become 
visible and once logged out, the fees likns disappear...
i have  atable that in mysql dbs that stores users login!
enable_transit_id is enabled in php! the os is unix and wS is apache!

Any ideas?
What i've done so far is to start sessions in each page register the logged 
boolean once logged and destroy it once logged out!
also i had to phpsessid to each url in frames otherwise it does not work! i 
also added the session_name but if i don't add phpsessid to urls it creates 
new sessions each time !
i don't want to use cookies, they are enabled ! maybe that's why 
session_name does not work ?

Please help me !

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] simple questions about sessions

2001-06-22 Thread kaab kaoutar


Hi!

1- is there a way with which i can verify that a session variable is 
registered or exists  without using start_session cause if it's not 
registered and there is no session it'll create the session !
i tried isset() but if it's set i have to use start_session so as to get the 
values and as we know start_session should be at the beginning!

2- if i create a session in a page can it be used in all the site pages and 
rames without adding any $phpsessid to all urls?
in my php.ini the enable-transit-id is enabled !
byt the way what do u mean by compilin php? i just save the php.ini!

3-with IE and netscape as i add the phpsessid to urls , sometimes it 
remmbers an old session and displays it to me ! how can i avoid these?
please help i'm confused!

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] isset($x) fails !

2001-06-22 Thread kaab kaoutar

Hi!
isset() fails :(
i peeferd using it so as not to use session_start() when the guy is not 
logged !


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] problems with sessions login/logout and frames

2001-06-21 Thread kaab kaoutar


Hi there!
I'm happy the mailing lisi is finally activated :)
Well guys, i've spent bad time using sessions with frames :
i have a  website that dislpays some tour products, and i have four frames 
in most of the pages! i have a logon button in the top frame where once 
clicked it asks for the login and password then resistered a variable 
session and set it to true then reload the whole page and activates the 
tarifs which where invisible in the not logged version! then when i logout i 
unregister the logged varaible then reload the whole page!
Well i also start session in each page even if it's not registered so as to 
test whether it's registerd and set to true ! therefore i always have a 
session even not logged which is wierd! also i stsrt the session in the 
index file then send the session id to the 4 frames in their urls as 
test.php?phpsessid=$phpsessid...
i also add the ?phpsessid=$phpsessid to each link in each page/frame!
Here are the problems i encounter:
1-a session is always created cause i have to test!
2-with IE nad Netscape i have to clear the temporary files and set history 
to 0 otherwise it always shows the old page wich was for instance not logged 
however now i'm logged out ! but it still do me that after surfing a bit 
cause it remmbers the first pages !

Please help me !these drive me mad !
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Problem with session_is_registered

2001-06-21 Thread kaab kaoutar

u should start the session first (session_start(), then check registration!


From: news.php.net [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Problem with session_is_registered
Date: Thu, 21 Jun 2001 15:25:35 +0200

hi everybody,

maybe I get smth. wrong, but as far as I know the function
session_is_registered()
is used to find out if a var is registered in a session...

ok, now here is my example:

[ index.php ]
?php
$count = ;
session_start();
session_register (count);
$count = 1;
?
.
.
.
a href=check.phpNEXT/a



[ check.php ]
?php
if (session_is_registered(count)) {
  echo yes, count is reg.br;
}
else {
  echo no, count is not reg.br;
}
?
.
.
.


now, check.php always writes no, count is not reg., but I don't really
understand, why!
do I have to run a - session_register (count); - before using
session_is_registered?
But if I do this, there is no need to check for the var with
session_is_registeredbecause
I know the var is registered

maybe someone can help me out or point me to a good tutorial about
sessions

thx in advance :)
andi






--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] redirect from aframe to the whole page!

2001-06-21 Thread kaab kaoutar


Hi!
how cann i redirect from a frame to a page but in the whole page !
i mean like href and adding the target!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] send data to a file composed of frames

2001-06-18 Thread kaab kaoutar

Hi guys!
I have a login in my site, some pictures and links are differents depending 
on being logged or not!
I thought of using sessions in the whole site, but the disadvantage is that, 
we can never go back in a the previous page, when using sessions.
i thought of using a hidden input in each page but some or rather almost all 
my pages are composed of frames and therefore the frames don't receive the 
login status!
Can u please help ?
THanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




[PHP] session and back button

2001-05-22 Thread kaab kaoutar

Hi!
I'm using sessions and if the user hits the back button an expiration page 
appears! how can i disable the back button ?
i tried window.history.forward(1) but it fails !
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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: mailing list php-general@lists.php.netµÄ×Ô¶¯»ØÐÅ

2001-05-22 Thread kaab kaoutar

what ?


From: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: mailing list [EMAIL PROTECTED]µÄ×Ô¶¯»ØÐÅ
Date: 22 May 2001 17:24:30 -

ºÜ¸ßÐËÊÕµ½ÄãµÄÓʼþ£¡


===
Ãâ·Ñµç×ÓÓÊÏä http://home.sina.com.cn

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Intranet links

2001-05-21 Thread kaab kaoutar

Hi

do u have any interesting links about careting an intranet?

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Intranet links

2001-05-21 Thread kaab kaoutar


I meant soft side!

From: Plutarck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Intranet links
Date: Mon, 21 May 2001 10:13:44 -0500

Do you mean creating as in physically plugging wires into network cards 
in
computers to create one, or programming software that's designed for use
over the intranet, socket programming on an intranet, or something else?

Creating an intranet is too broad of a subject to give you a very good
answer.


Plutarck

kaab kaoutar [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hi
 
  do u have any interesting links about careting an intranet?
 
  Thanks
  
_
  Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.
 
 
  --
  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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] please help!

2001-04-27 Thread kaab kaoutar

Hi!
can u please chek this url http://www.tekora.com/tekora.html
its a flash demo of an online site builder?
do u think we can create a site for someone that way online using ph (fast 
template) ?
thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] online site builder

2001-04-26 Thread kaab kaoutar

Hi all!
Is using php the right technology with which i can create an online site 
builder! i mean i want to enable users to create their own sites
in few minutes by choosing one model of the ones proposed, the colors, etc u 
know like these site builders sites?
if not do u thnik there are specific tools i may use to fullfill these? or i 
have to do it from scrach using jsp or java ?
Thanks  a lot

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] login security

2001-04-09 Thread kaab kaoutar

Hi!
i have developped a site using php, but i'd like to add a login acess
for private pages, i mean only subscribed epople are allowed to access 
certain pages , how can i do that and how can i overpass the problem of 
showing the url , knowing that if someone saw the url he  may open it 
without loging
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] comparing dates works sometimes and fails another time!

2001-03-28 Thread kaab kaoutar

Hi!

$date1="2001-1-7";$date2="2001-1-14";
if ($date1=$date2) echo "date1 is greater then date2";
else echo "date2 is greater then date1";
the result is the first :(
but it works for other dates!

Thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread kaab kaoutar

Hello

Is it possible to work with php under an oracle server ?
If yes can u point me to some manuals and articles
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread kaab kaoutar

HI!
DO U MEAN I SHOULD GIVE UP USING PHP under oracle web server ?
i used to work on php under PWS and apache!
However i've made a project with ASP under IIS but the client changed his 
mind and wanted to put it in his oracle web server !
i thought of using php translation from asp ! or at last as long as i master 
php code it again !
any idea pleaase!
Thanks


From: Frank Joerdens [EMAIL PROTECTED]
To: kaab kaoutar [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] php under Oracle Web server  pleaase!
Date: Mon, 19 Mar 2001 11:41:42 +0100

On Mon, Mar 19, 2001 at 10:27:19AM -, kaab kaoutar wrote:
  Hello
 
  Is it possible to work with php under an oracle server ?
  If yes can u point me to some manuals and articles

AFAIK, the Oracle Web server is not Open Source; hence it would be
difficult to support it directly. You can always use the CGI or servlet
options though. All the stuff for other web servers besides Apache is in
the source tree under:

/usr/src/php-4.0.4/sapi/

Regards, Frank

--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] email sent many times when using ob_get_contents()

2001-03-09 Thread kaab kaoutar

Hi!
I have a strange problem, when i use the following in
? mail('[EMAIL PROTECTED]', 'confirmation', ob_get_contents());
ob_end_flush(); ?
i receive the page many times in my email account!
Any idea ?
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] how to use ob_get_contents() to send a page as email

2001-03-08 Thread kaab kaoutar

Hi
I've tried what, one of u, has kindly suggested, to send the whole html page 
as email :
i put at the beginning of the page
?mail('[EMAIL PROTECTED]', 'confirmation', ob_get_contents()); ?
and at the end, after /html
? ob_end_flush();?
but i receive  a blank email
Can u please help !
THANKS
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] delete an element from an array

2001-03-05 Thread kaab kaoutar

Hi!
how can i decrement the length of an array!
In fact i'm trying to delete an element from an array , i'v put the content 
of i in i-1 (loop) and i tried to decrement the array legnththis way: 
count($x)=count($x)-1;
but it generates an error!

Thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] delete an element from an array

2001-03-05 Thread kaab kaoutar


Hi!
FIRST OF ALL THANKS !
well do u mean that the only way to remove an elemnt from an array is to
copy it into another array? it does not suit me cause the array is a session 
variable and i need to update it !

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] delete an element from an array

2001-03-05 Thread kaab kaoutar

Thanks! but i know this function!
i can't do that cause my varibale is multidimenssional, and i don't want to 
update all that ! for one element !
we can't decrement the length of the array ?! no way ?



From: Hardy Merrill [EMAIL PROTECTED]
To: kaab kaoutar [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] delete an element from an array
Date: Mon, 5 Mar 2001 10:57:49 -0500

Have a look at

 http://www.php.net/manual/en/function.unset.php

"unset" may do what you want.

HTH.

--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com

kaab kaoutar [[EMAIL PROTECTED]] wrote:
 
  Hi!
  FIRST OF ALL THANKS !
  well do u mean that the only way to remove an elemnt from an array is to
  copy it into another array? it does not suit me cause the array is a 
session
  variable and i need to update it !
 
  Thanks
  
_
  Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.
 
 
  --
  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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] input textfield value cat!

2001-03-05 Thread kaab kaoutar


I'm using a variable!
input type="text" name="MyTextInput" value=?=$val ?




From: "Brad S. Jackson" [EMAIL PROTECTED]
To: "kaab kaoutar" [EMAIL PROTECTED]
Subject: Re: [PHP] input textfield value cat!
Date: Mon, 5 Mar 2001 10:08:21 -0600



Make sure you have quotes around the value.

input type="text" name="MyTextInput" value="MyValue"


Hi!
i'm storing values in session variables, when i get a value wich is a
sequence of words seperated by space, it echoes successfully but when i try
to initialize the value of an input textfield with it   i got only the 
first
word! i tried to encode decode but no way !
Thanks



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Verify session in function

2001-03-05 Thread kaab kaoutar


U just have to add global $PHPSESSID
to make the session variable global;

From: "Tobias Talltorp" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Verify session in function
Date: Mon, 5 Mar 2001 18:30:00 +0100

I am building my first basic function to verify a session.
If the verification is not in the function it works...
What am I missing?
(I couldn´t find anything about this in the mailing list archive)

-- This works --
session_start();

if (isset($PHPSESSID)){
 echo "ok";
 } else

 echo "not ok";
 }


-- This does not work -
session_start();
verifySess();

function verifySess() {
 if (isset($PHPSESSID)){
 echo "ok";
 } else

 echo "not ok";
 }
   }

Thanks,
// Tobias





--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Javascript and Php

2001-03-01 Thread kaab kaoutar

Hi!
I'd like to include an inc file once a button id cliked!
I tried calling that function:
function more()
{
?php include "sessions.inc"; ?;
// var f=?php include "sessions.inc"; ?;
document.form1.action="formhtl_rd.html";document.form1.submit();
}

but it fails!
Any idea
Thanks




_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Javascript php

2001-03-01 Thread kaab kaoutar


Thanks!
Does it mean that there is no way to execute a php statement
after the click of a button ? then go to the other page mentionned in the 
form action ?



From: "Johnson, Kirk" [EMAIL PROTECTED]
To: "'kaab kaoutar'" [EMAIL PROTECTED]
Subject: RE: [PHP] plese help!
Date: Thu, 1 Mar 2001 10:47:58 -0700

Jason Jacobs has the right idea. Put the PHP code that you want to run in a
2nd file, for example, myScriptFile.php. Put this file name in the "ACTION"
attribute of your FORM tag in your first file. Then, when the user clicks
the "Submit" button in the first file, myScriptFile.php gets executed.

Say your first file is named myForm.php and it contains the FORM. In this
file put:

FORM METHOD = "post" ACTION = "myScriptFile.php"
INPUT TYPE = "submit"

Put your PHP code in the file named myScriptFile.php.

You see, you have to hit the server again to run the PHP code. If you want
the code to run in *real time without leaving the first page* (myForm.php),
you need to use JavaScript to do that.


-Original Message-
From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 10:23 AM
To: Johnson, Kirk
Subject: RE: [PHP] plese help!


I don't get what u mean !
i know that one is client side and the other server side!


 From: "Johnson, Kirk" [EMAIL PROTECTED]
 To: "'kaab kaoutar'" [EMAIL PROTECTED]
 Subject: RE: [PHP] plese help!
 Date: Thu, 1 Mar 2001 10:01:47 -0700
 
 Not without hitting the server!
 
 PHP works on the server side, JavaScript works on the client side.
 
 -Original Message-
 From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 01, 2001 9:59 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP] plese help!
 
 
 Hi!
 please i'm really in need of knowing if there is a way to do a php
 statement
 
 once a button is clicked!

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] exchange data between javascript php!

2001-02-28 Thread kaab kaoutar

Hi!
i want to when i click on a button, i execute some php syntax !
i also want to give a php variable to a javascript function
Thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] session problem

2001-02-27 Thread kaab kaoutar

Hi!

I have a page in wich i register and fill the value of some session 
varibles:
session_start();
session_register("vehiculesess");
session_register("hotelsess");
session_register("riadsess");
session_register("transfertsess");
session_register("excursionsess");
include "sessions.inc";

bit when i go to other pages and come back to it , it creates a new session 
?! however i want to fill more that variables !

NB: i also discovered that when i reload that page it creates another 
session however when i add and click on a submit button with action =echo 
PHP_Self it works, i mean it no more creates another session
any idea ?

Thanks


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] incrementing a date!

2001-02-25 Thread kaab kaoutar

Hi all!
s there a way with which we can increment a date (by day) without extracting 
the month the day and the year then increment some of them depending on the 
day the month and the year ?
ex: 2001-03-28 'll become 2001-04-01

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] redirect to another page not using headers

2001-02-24 Thread kaab kaoutar

Hi!
i'm working on Windows NT workstation with PWS§
Therefore header does not work ! but i want to redirect to another page!
any server isde idea  ?
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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 $more still does not work !

2001-02-24 Thread kaab kaoutar

Hi!
i have a submit button called "more" in a page that calles itself
i try to check whether the page was just loaded or called by clicking on 
that button using :
if ($more) {echo "hi";}
it never echo hi
any idea ?
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] $submit does not work! strange !!!!!!!!

2001-02-23 Thread kaab kaoutar

Hi guys!

I'm using a form that refreshes itself when submitting it!
however when it's submitted i make a condition on the value of $submit so as 
to make some instructions but the problem is that the $submit is always 
empty but i can see that the page is reloaded when i submit the form.

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] variable sent using pots is cat!

2001-02-22 Thread kaab kaoutar

Hi!
i have a problem!
i send a variable from one page to another page using post method!
but when a variable is like composed of two words , the other page receives 
only the first word !
can u please help?!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] checkboxes sessions

2001-02-20 Thread kaab kaoutar

Hi folks!

How can i do the following using php:
in a page i have many checkboxes that were generated dynamically,
the user may check many of them, i want that when a checkbox is checked, add 
it to a session variable !
i thaught of using javascript, but i can't use session variables in 
javascript.
Any idea please ?!
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] mailto ?

2001-02-20 Thread kaab kaoutar

Hi
i have a page taht is generated dynamically and that the user may email!
the question is how can the receiver receives it as "an html" file whatever 
email software he's using ?
I thouhgt of using mailto but i need a form however i have no inputs to use 
it, it's worthless!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] mailto ?

2001-02-20 Thread kaab kaoutar

Hi
i have a page taht is generated dynamically and that the user may email!
the question is how can the receiver receives it as "an html" file whatever 
email software he's using ?
I thouhgt of using mailto but i need a form however i have no inputs to use 
it, it's worthless!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] email a page as attachment

2001-02-20 Thread kaab kaoutar

Hi!
how can i email from a page, that page as attachment ?
thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] dynamic pages/sessions/checkboxes

2001-02-18 Thread kaab kaoutar

Hi!
I'd like to do the following:
i have a page where the user chooses from a combo of a products, a combo of 
charactersitics, the date when he wants it and the quantity!
he may not fill one of these inputs so the result will be the list of all 
products, or he may choose the product and not the characteristics etc so i 
will check in my database and show them!
but that page is dynamic cause i have to add checkboxes close to each 
product !The purpose of these checkboxes is that the user can add the 
products to its cart of estimates(devis), so as the final result will be the 
estimate of the price of all products checked!
The problem is that when the user checks a product, i should know wich 
product to add, i thought of giving the checkboxes, the product number !
any ideas ?

PS: i'm using sessions cause i have many pages from where he can add 
whatever he wants to its estimate cart

Thanks


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] PHPLIB-7.2 sessions

2001-02-17 Thread kaab kaoutar

Hi!
i'm trying to use sessions in my shopping cart!
i hadno idea about from where to start till one of u'r kind members send me 
url that points to devshed!
while sacnning titles and articles that had confused me cause i found no 
help in implementation! but i discovered this phplib-7-2 library !
can u help me in the steps to follow please !
cheers

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Sessions

2001-02-17 Thread kaab kaoutar

Hi!
Do u think i have to create my own chart cart ?! or use an already existant 
soft or library ?i've sezen the phplib-7.2 but the cart can contain only 
simple things :(
do u have any urls to point me to  beside the devshed ?
Thanks !

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] How to make text BOLD

2001-02-16 Thread kaab kaoutar

hi!
u mean u're using a php file ? not html file that includes php syntax?
try this one : echo " strong hi/strong"
it works for me !
cheers



From: "Nguyen, David M" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] How to make text BOLD
Date: Fri, 16 Feb 2001 09:31:33 -0600

I want to make my text BOLD using either STRONG/STRONG or B/B but 
it
did not work with PHP.  Can someone please advise why not or if there is
another way to do it.

Thanks,
David

--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Oracle Web Php

2001-02-15 Thread kaab kaoutar

Hi!
I mean running php in an oracle server!
thanks


From: Adi Wibowo [EMAIL PROTECTED]
To: kaab kaoutar [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Re: [PHP] Oracle Web  Php
Date: Thu, 15 Feb 2001 02:22:03 +0700 (GMT+0700)


On Wed, 14 Feb 2001, kaab kaoutar wrote:
  Hi!
  thanks but i'm talking of oracle server! i mean instead of using pws or 
IIS
  or apache , may i use php with an oracle server
 
  thanks

Yes, you could access oracle server using PHP without any web server.
Just compile it as a CGI (without any kind of web server flag).

But it still has the same instruction manual.
Try looking at "Oracle Functions" or "Oracle 8 Functions" at PHP manual.
Hope it help.


Adi Wibowo ---
* Work matter: [EMAIL PROTECTED]
* Private matter : [EMAIL PROTECTED]
--


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Cookies

2001-02-15 Thread kaab kaoutar

Hi!
I'm about to use cookies in my application, and i'm intersted in using 
baskets, i mean while the user surfing in my web site, he can select items 
and it will be added to the basket etc (like the classical shopping) !
can u point me to a url with details information about cookies(i've read the 
one of the manual) and php samples about cookies and baskets stuff ...
what about if cookies are disactivated in a user browser ?

Thanks a lot !


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] stupid problem!

2001-02-15 Thread kaab kaoutar

when i try the phinfo test in a php file it works!
however when i put it in an htm file it does not work :

htmlheadtitlePHP Test/title/head
body
?php
phpinfo();
?
/body/html

It gives me a blank page

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] PWS PHP

2001-02-15 Thread kaab kaoutar


Hi!
How can i make my web server PWS parse html file into PHP? cause it shows 
nothing when i include php in an html file.However it works when i put it in 
a php file !
Thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] stupid problem!

2001-02-15 Thread kaab kaoutar


Oh yes u're right it's that once installing i just cares for php file !
but when i try now, i find that thaere are existent phpfile keys that are 
already filled with things related to, for instance in the 
shell-open-commnand default ihave the following :
"C:\PROGRA~1\Plus!\MICROS~1\iexplore.exe" -nohome
may i erase it and put instead it c:\php\php.exe -q %1 ?
Thanks

From: Jon Haworth [EMAIL PROTECTED]
To: 'kaab kaoutar' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] stupid problem!
Date: Thu, 15 Feb 2001 12:14:35 -

This is because your server is set up to parse .php files as php, and .html
files as html.

If you have access to your httpd.conf or whatever, you can set it to 
include
.html files in the php parsing. If not, you'll have to stick with calling
your php files .php.

HTH
Jon


-Original Message-----
From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 11:12
To: [EMAIL PROTECTED]
Subject: [PHP] stupid problem!


when i try the phinfo test in a php file it works!
however when i put it in an htm file it does not work :

htmlheadtitlePHP Test/title/head
body
?php
phpinfo();
?
/body/html

It gives me a blank page

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


--
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]

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] PWS PHP

2001-02-15 Thread kaab kaoutar


Hi!
please help me !
i have tried to do what is that url concerning html file but i've found that 
there is already a key called htmlfile where the default is filled with 
Microsoft HTML Document 5.0 and the shell-open-command with
"C\PROGRA~1\Plus!\MICROS~1\iexplorer.exe" -nohome
i get rid of them and put instead them PHP Script and
c:\php\php.exe -q %1
but it does not work and above all now i can't open any html file  from the 
server i get :
Erreur HTTP 403
403.1 Forbidden - Execute Access Forbidden

Cette erreur peut être engendrée si vous tentez d'exécuter une application 
CGI, ISAPI ou un autre programme exécutable à partir d'un répertoire qui 
n'autorise pas l'exécution de programmes.

Veuillez contacter l'administrateur du serveur Web si le problème persiste.

i tried to restore but i still can't open html files !
pleaase help
thanks

From: "Ankur Verma" [EMAIL PROTECTED]
Reply-To: "Ankur Verma" [EMAIL PROTECTED]
To: "kaab kaoutar" [EMAIL PROTECTED], [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] PWS  PHP
Date: Thu, 15 Feb 2001 17:42:53 +0530

This has been extensively covered in a step by step process in the PHP
Manual Installation Chapter

http://www.php.net/manual/en/install.iis.php

follow the steps and you will have php working just fine with PWS

best regards

Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India


- Original Message -
From: "kaab kaoutar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 5:00 PM
Subject: [PHP] PWS  PHP


 
  Hi!
  How can i make my web server PWS parse html file into PHP? cause it 
shows
  nothing when i include php in an html file.However it works when i put 
it
in
  a php file !
  Thanks
 
  
_
  Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.
 
 
  --
  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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] PWS PHP Thanks

2001-02-15 Thread kaab kaoutar

Thanks a lot guys for ur help!


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Oracle Web Php

2001-02-14 Thread kaab kaoutar

Hi!
is there a possiblily to use with in an Oracle Web server ?
THANKS
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Oracle Web Php

2001-02-14 Thread kaab kaoutar

Hi!
thanks but i'm talking of oracle server! i mean instead of using pws or IIS 
or apache , may i use php with an oracle server

thanks

From: Christian Reiniger [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Oracle Web  Php
Date: Wed, 14 Feb 2001 17:44:40 +0100

On Wednesday 14 February 2001 11:44, kaab kaoutar wrote:

  is there a possiblily to use with in an Oracle Web server ?

RTFM (look at the manual, topic "Oracle functions")

--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

Even idiots can handle computers, and many do.

--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] JavaScript, PHP and HTML

2001-02-02 Thread kaab kaoutar


hi!
if u wanna use javascript the code should be added in html!
but it's better to use php for checking date and hour !
As long  as u use php technologie get rid of these client side stuff till 
it's necessary!

cheers

From: Augusto Cesar Castoldi [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] JavaScript, PHP and HTML
Date: Fri, 2 Feb 2001 09:16:00 -0200 (EDT)

I have a .html page, that is "called" (openfile)  by .php script. I did
that to the designer have more freedon.

But know I want to but an JavaScript to verify if a date/hour is a valid
format for MySQL.

Where should I put the JavaScript? In .php or .html?

Or I should check the date and hour on .php script?

thanks,

Augusto Cesar Castoldi


--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] verify that email exist ?

2001-01-31 Thread kaab kaoutar

Hi!
What do u fill exaclty ?
only the local user and localhost ?
do i have to chenge the srever_name,host,username and user ?
if i fill it bu kaab_k as local user and hotmail.com as hotmail.com!
should it work in ur environment ?
thanks !


From: "Brian V Bonini" [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "kaab kaoutar" [EMAIL PROTECTED]
Subject: RE: [PHP] verify that email exist ?
Date: Tue, 30 Jan 2001 14:16:13 -0500

Hmmm, I'm not sure. You can leave the
localhost and localuser blank.
Unfortunately, I know nothing about NT
or PWS and what environment variables are
available, the script does use quite
a few. I use it on UNIX/Apache/PHP4.

Here is how I'm using it if that helps at all.
Sorry I don't have more info for you.

?php
  require("email_validation.php3");

  $validator=new email_validation_class;
  $validator-timeout=10;

  if(IsSet($email)
   strcmp($email,""))
  {
   if(($result=$validator-ValidateEmailBox($email))0){
echo "It was not possible to determine if $email is a valid
deliverable e-mail box address.\n";
echo "Please inform the system administrator\n";
   }
   else {
 if($result){
   mail("[EMAIL PROTECTED]", "Subject", "$message", "From:
$email");
 }
 else
 echo "Sorry, you've submitted an invalid email 
addressBRPlease
A HREF=\"javascript:history.back();\" CLASS=\"bld\"try again/A\n";
   }
  }
  else {
   echo "There was a problem submitting your email address, perhaps
you\n";
   echo "left the email address field blank? Please A
HREF=\"javascript:history.back();\" CLASS=\"bld\"try again/A or inform
the system administrator\n";
  }
 ?

  -Original Message-
  From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 30, 2001 1:07 PM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]
  Subject: RE: [PHP] verify that email exist ?
 
 
  Hi!
  I have tried to use email_validation.php3
  i've filled the localhost by hotmail.com and localuser by kaab_k
  and added the following code :
  $test=new email_validation_class;
  echo $test-ValidateEmailBox("[EMAIL PROTECTED]");
 
  but i have the following error:
  Fatal error: Maximum execution time of 30 seconds exceeded in
  C:\Inetpub\wwwroot\php\email_validation.php on line 90
  line 90 is :
 
  if (($connection=($this-timeout ? .
  can u please help ?
  by the way i'm using all these in a windows NT workstation with PWS!
  Thanks
 
 
  Thanks
 
  From: "Brian V Bonini" [EMAIL PROTECTED]
  Reply-To: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED], [EMAIL PROTECTED]
  Subject: RE: [PHP] verify that email exist ?
  Date: Tue, 30 Jan 2001 08:41:40 -0500
  
  Attached are a couple things that will
  validate an email address and check other
  form elements about as thoroughly as
  possible
  
  -Brian
  
  
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 6:04 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] verify that email exist ?
   
   
Hi,
   
I don`t think it is possible to check that an email actually
exists but what
you could do is make them confirm there email by sending them a
code, if they
enter the right code on the next page then they have recieved the
email and
it obviously exists.
   
HTH
Ade
   
--
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]
   
   
   email_validation.php3 
   class.Validator.php3 
 
  
_
  Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.
 
 


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Bcc email does not work

2001-01-31 Thread kaab kaoutar


Hi!

Have u ever tried to send many emails using Bcc?
It does not work for me !

Thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.



Return-Path: [EMAIL PROTECTED]
Received: (qmail 19528 invoked from network); 31 Jan 2001 12:10:34 -
Received: from unknown (HELO hotmail.com) (64.4.15.52)
  by va.php.net with SMTP; 31 Jan 2001 12:10:34 -
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
 Wed, 31 Jan 2001 04:11:37 -0800
Received: from 212.217.5.93 by lw10fd.law10.hotmail.msn.com with HTTP;  Wed, 
31 Jan 2001 12:11:37 GMT
X-Originating-IP: [212.217.5.93]
From: "kaab kaoutar" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Bcc that not work !
Date: Wed, 31 Jan 2001 12:11:37 -
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: [EMAIL PROTECTED]
X-OriginalArrivalTime: 31 Jan 2001 12:11:37.0580 (UTC) 
FILETIME=[F60162C0:01C08B7E]

Hi!

Have u ever tried to send many emails using Bcc?
It does not work for me !

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





-- 
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] REGULAR EXPRESSION

2001-01-31 Thread kaab kaoutar

Hi!
I 'd like to have an input that contains only a to Z and space and 
ëàéêêàäïüöûâç- nothing else like numbers or whatever and also does not start 
with space !
till now with ur help i get the following :

(!ereg("[a-zA-Z[:space:]ëàéêêàäïüöûâç-]", $name))
but it accepts  numbers ,
i tried
(!ereg("^[0-9]+[a-zA-Z[:space:]ëàéêêàäïüöûâç-]", $name))
it no more accepts letters nor anything !

Thanks


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Odbc Vs Oracle

2001-01-31 Thread kaab kaoutar

Hi!

i'm using an orcale DB, i'd like to know what's the best way to exploit php 
? using odbc or oracle functions ?

Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Oracle8 OciLogon !

2001-01-31 Thread kaab kaoutar

Hi!
i use oracle and i always get this error:
call to undefined function ocilogon()!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] form validation :ereg ()

2001-01-30 Thread kaab kaoutar

Hi!
thanks for the answer !
but for eregi("[^a-zA-Z[:space:]ëàéêêàäïüöûâç-]",$name);
it accespts also numbers hen i give kaab1 as input it accept it ? strange ?!
by the way how can i add the fact that the name should not start with space 
?
thanks a lot !



From: "Jeff Warrington" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] form validation :ereg ()
Date: Mon, 29 Jan 2001 17:55:22 -0800

In article [EMAIL PROTECTED], "kaab kaoutar"
[EMAIL PROTECTED] wrote:

If you wish to include a hyphen in the allowed character list of a
pattern match, you must include it as the last character.

So what you want should be more like:

if (eregi("[^a-zA-Zëàéêêàäïüöûâç-]",$name)) {
 print("your name can't include non-letter, etc");
}

You can add space with:  [:space:] within the charachter
class ([^a-zA-Z[:space:]ëàéêêàäïüöûâç-])

Jeff


  Hi again!
 
  I still did not fix my prob : I want to check, in a form, that the name
  input may include an alphabetical  letter a- z, A-Z, or a space, or -,
  or à, or ä or ü etc how can i do that ? i used
  ereg("([a-z,A-Z][ë,à]?)",$name) then
  (!ereg("([a-z,A-Z,é,ê,è,ë,-,\t,à,ä,ï,ü,ö,û,â,ç])", $name))
  i get the following warnin :REG_ERANGE:,invalid character range by the
  way how to add space " " and "-" ?
 
  Please help!
 
  Thanks
 
 
  
_
  Get Your Private, Free E-mail from MSN Hotmail at
  http://www.hotmail.com.
 
 
 

--
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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] email headers!

2001-01-30 Thread kaab kaoutar

Hi!

how can i add Bcc Cc and others to my email?
i use
$headers="Bcc:[EMAIL PROTECTED]\nCc:[EMAIL PROTECTED]";
mail($email,$subject,$body,$headers))
but i receive it only once ?

Thanks


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Ultradev

2001-01-30 Thread kaab kaoutar

Hi!
i used to work with asp on ultradev, and i believe it's a pretty nice tool, 
i know that it generate asp, jsp and coldfusion files but not php !
do u know a tool equivalent to ultradev that generates php files or more do 
u know of a version of ultradev that generates php ?

Thanks?

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] W2K Pro, IIS5.0 + PHP4.4 install trouble....

2001-01-30 Thread kaab kaoutar


Do u call it from http://server/phpdirectory/file.php?
assuming ofcourse that u've created a phpdirectory in inetpub/wwwroot where 
u put ur php files !



From: "Niel Zeeman" [EMAIL PROTECTED]
To: "Sebastian Stadtlich" [EMAIL PROTECTED], "php gen list" 
[EMAIL PROTECTED]
Subject: Re: [PHP] W2K Pro, IIS5.0 + PHP4.4 install trouble
Date: Wed, 31 Jan 2001 01:25:45 +0200

Maybe you could try this
no quarentees :)

Niel Zeeman
- Original Message -
From: "Sebastian Stadtlich" [EMAIL PROTECTED]
To: "'Php-General (E-Mail)" [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 12:26 PM
Subject: [PHP] W2K Pro, IIS5.0 + PHP4.4 install trouble


  i just installed php on IIS5.01.
  i placed a file phpinfo.php in the webroot
  ---
  ?php
  phpinfo();
  ?
  --
 
  whatever i try i always get the following error :
 
  Warning opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion
  (include_path='') in unknown on line 0
 
  i'm not sure what this include thing is about
  but on an old installation on a nt4.0 ihave nothing written in it..
  if i write phpscripts they are executed perfectly,
  ?php
  echo ""test";
  ?
 
  but i don't get any information from phpinfo
  ( which is pretty usefull..)
 
  any sugestions?
 
  sebastian
 
 PHPInstallationonW2K.txt 
--
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]

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Odbc_connect!

2001-01-30 Thread kaab kaoutar

Hi!
i have an oracle Database and i wanted to use odbc functions i tried it but 
it gives me faile to connect, so i tried an access Database that i put in 
dsn system etc
and i still have the same error!
here is the code :


if (($res = Odbc_Connect("WebZine","kaab","kaab")==0))
{
print ("Couldn't connect to database\n");
exit ();
}

echo $res;
$sql  = "Select * subscribe";
if ($res  0)
{
$id = Odbc_Exec($res, $sql);
$row=1 ;
while (Odbc_Fetch_Row($id,$row))
{$emaildb   = Odbc_result($id,3); echo $emaildb;}
Odbc_Close($res) ;
}
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] these url icons fashion

2001-01-30 Thread kaab kaoutar

hi!
Hi tried it !
and get the icon by email and add the following :
html
head
link rel="SHORTCUT ICON" href="http://www.idnetdor.com/favicon.ico"
titleNouvelle page 1/title
/head
body
test
/body
/html

but it still does not work !?
can u please help!
i'm in hurry to see it works :)
thanks


From: Boaz Yahav [EMAIL PROTECTED]
To: 'kaab kaoutar' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] these url icons fashion
Date: Tue, 30 Jan 2001 14:14:30 +0200

http://www.favicon.com

Sincerely

  berber

Visit http://www.weberdev.com Today!!!
To see where PHP might take you tomorrow.





  -Original Message-
  From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, January 30, 2001 2:10 PM
  To: [EMAIL PROTECTED]
  Subject: [PHP] these url icons fashion
 
 
  Hi!
 
  maybe this questio  has nothing to do with php and maybe not !
  well i noticed that in internet explorer some urls have their
  own icon
  instead of the one of explorere!here is a sample :www.php.net
  any ideas of how to do that ?
 
  Thanks
 
  __
  ___
  Get Your Private, Free E-mail from MSN Hotmail at
  http://www.hotmail.com.
 
 
  --
  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]
 

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] form validation :ereg ()

2001-01-30 Thread kaab kaoutar


Hi!
no it dose not work!
now it even not accepts kaab ?
for the space, what i mean is that the user won't insert space only !



From: jaydub [EMAIL PROTECTED]
To: kaab kaoutar [EMAIL PROTECTED]
Subject: Re: [PHP] form validation :ereg ()
Date: Tue, 30 Jan 2001 09:21:09 -0800 (PST)

The patter will allow numbers because we didn't
explicitly put numbers in the charachter clas.

To avoid allowing numbers, add in '0-9' to the
beginning of the bracketed expression:

[^0-9a-zA-z.] etc

to disallow spaces at the beginning, the easiest
thing is to trim the input.

so, if you have a posted variable with the
value: ' myname', then reassign the variable
like: $name = trim($name);

this will removed leading and trailing spaces.

Jeff




=  Hi!
=  thanks for the answer !
=  but for eregi("[^a-zA-Z[:space:]ëàéêêàäïüöûâç-]",$name);
=  it accespts also numbers hen i give kaab1 as input it accept it ? 
strange ?!
=  by the way how can i add the fact that the name should not start with 
space
=  ?
=  thanks a lot !
=
=
=
=  From: "Jeff Warrington" [EMAIL PROTECTED]
=  To: [EMAIL PROTECTED]
=  Subject: Re: [PHP] form validation :ereg ()
=  Date: Mon, 29 Jan 2001 17:55:22 -0800
=  
=  In article [EMAIL PROTECTED], "kaab kaoutar"
=  [EMAIL PROTECTED] wrote:
=  
=  If you wish to include a hyphen in the allowed character list of a
=  pattern match, you must include it as the last character.
=  
=  So what you want should be more like:
=  
=  if (eregi("[^a-zA-Zëàéêêàäïüöûâç-]",$name)) {
=   print("your name can't include non-letter, etc");
=  }
=  
=  You can add space with:  [:space:] within the charachter
=  class ([^a-zA-Z[:space:]ëàéêêàäïüöûâç-])
=  
=  Jeff
=  
=  
=Hi again!
=   
=I still did not fix my prob : I want to check, in a form, that the 
name
=input may include an alphabetical  letter a- z, A-Z, or a space, or 
-,
=or à, or ä or ü etc how can i do that ? i used
=ereg("([a-z,A-Z][ë,à]?)",$name) then
=(!ereg("([a-z,A-Z,é,ê,è,ë,-,\t,à,ä,ï,ü,ö,û,â,ç])", $name))
=i get the following warnin :REG_ERANGE:,invalid character range by 
the
=way how to add space " " and "-" ?
=   
=Please help!
=   
=Thanks
=   
=   
=   
=  
 _
=Get Your Private, Free E-mail from MSN Hotmail at
=http://www.hotmail.com.
=   
=   
=   
=  
=  --
=  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]
=  
=
=  
_
=  Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com.
=


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] form validation :ereg ()

2001-01-29 Thread kaab kaoutar

Hi again!

I still did not fix my prob :
I want to check, in a form, that the name input may include an alphabetical 
letter a- z, A-Z, or a space, or -, or à, or ä or ü etc
how can i do that ? i used   ereg("([a-z,A-Z][ë,à]?)",$name) then
(!ereg("([a-z,A-Z,é,ê,è,ë,-,\t,à,ä,ï,ü,ö,û,â,ç])", $name))
i get the following warnin :REG_ERANGE:,invalid character range
by the way how to add space " " and "-" ?

Please help!

Thanks


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] unable to load dynamic librabry c:\php/php_oracle.dll!

2001-01-29 Thread kaab kaoutar

hi!
i got the following error whe i try to connect to an oracle dbs :

unable to load dynamic librabry "c:\php/php_oracle.dll" this module is not 
found !

please help!
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] outlook php

2001-01-29 Thread kaab kaoutar

hi!
do someone knows how to trigger a php file from outlook?
i have an html file where user adds his email address, if the email does not 
exist, a mail undelevery will be recieved in a certain email address, so 
what i like to do, is that, once an email is received, the email address 
will be sent as argument to a program that will deleted it rom my database!
thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] ereg()

2001-01-29 Thread kaab kaoutar

Hi
is the following right?
ereg("[a-zA-Zéêèë\sbàäïüöûâç-]", $firstname)
cause even when i type a number it accepts it ! however i want only letters 
- and space !
thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Server VS Client script validation

2001-01-29 Thread kaab kaoutar

Hi!
What's best ? using client script while validating form inputs(javasript or 
vbscript) or using php for validating!
with the first way, i can trigger alert ! however with the second one, i 
have to show up a whole page for just saying that there are errors, go back 
to the form !
any ideas ?
thanks

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] where to get php_oracle.dll for win32?

2001-01-29 Thread kaab kaoutar

Hi!
i still have'nt found the php_oracle.dll file !
i've checked in php4win.de but in vain!
Thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] phpinfo ?

2001-01-26 Thread kaab kaoutar

Hi there!

I'm sure it's a stupid problem but the phpinfo does work while trying the 
following html code:

htmlheadtitlePHP Test/title/head
body
?php phpinfo() ?

/body/html

the result is a blank page!

And when i create an php file with only: ?php phpinfo() ?
i have a dos window where a list of information is listed quickly then 
shut!(i can hardly see it)
by the way is it the same to put php code between ?php ?
and ? ? and script language=php /script ?

thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] which syntax?

2001-01-26 Thread kaab kaoutar

hi!

what's the difference between using
?php ? and using ? ? and using script  language="php" /script

thanks
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] php_oracle.dll

2001-01-26 Thread kaab kaoutar

hi!
how can i get the php_oracle.dll, i'm working on windows NT workstation!
thanks!
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] Echo and Print

2001-01-26 Thread kaab kaoutar


print is a function where u can add html tags like
print("brb hello $name") however echo is a command where we can't 
include html tags ! echo "hello".$name


From: Philip Olson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Echo and Print
Date: Fri, 26 Jan 2001 18:29:27 + (GMT)



What is the difference between echo and print ?
---
http://www.faqts.com/knowledge_base/view.phtml/aid/1/fid/41

Philip

On 26 xxx -1 [EMAIL PROTECTED] wrote:

  I know it is a kind of stupid question but I was trying to figure out
  the difference between "Echo" and "Print" and I didn't find it...Could
  anybody explain that to me??
  Thank you
 
  Felipe Lopes
 
 
  MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
  Faça já o seu. É gratuito!!!
 
  --
  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]


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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] declare variable

2001-01-24 Thread kaab kaoutar

Hi all!
first thanks for urvreplies about the editors and tutorials!
well while trying a my first php form i had to use a loop in the 
confirmation part which looks like:
?php
echo " " . $personal["name"]. "\n" . $personal["email"] . "br " ;
echo Count($beer);
$i=0;
for ($i=0;$iCount($beer);$i++)   echo $beer[i];
?

i have the same error the constant i is not defined ...
how acn i fix it ?
by the way the html form looks like :

form action="conf_form.php" method="post"
Name: input type="text" name="personal[name]"br
Email: input type="text" name="personal[email]"br
Beer: br
select multiple name="beer[]"
option value="warthog"Warthog
option value="guinness"Guinness
option value="stuttgarter"Stuttgarter Schwabenbräu
/select
input type="submit"
/form

THANKS


_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
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]