Re: [PHP] file downloads

2001-08-04 Thread I_UNION

Hi

I'm very news in php
Anyone knows how can i submit sample HTML  form by php and write into
database ???
I have anly one registration form username, password, First name last_name,
and phone

I need only small samples and all will be ok ..

thanks in advance

=
- Original Message -
From: "Data Driven Design" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 04, 2001 10:27 PM
Subject: Re: [PHP] file downloads


> I usually put or die(mysql_error())  and make it work before I put in the
@,
> that's been done already. This will display the image
>
> $result = @mysql_query($query);
> $row = mysql_fetch_row($result);
> $path = $row[0];
> print "";
>
> What I want is to display a 'save as' box to download the image whose file
> path is stored in the variable $path. Am I doing something wrong in the
> header section? The print statement would be commented out if I used this.
>
> $file_path = basename($path);
> header("Content-Type: application/download\n");
> header("Content-Disposition: attachment; filename=$file_name");
> header("Content-Transfer-Encoding: binary");
> readfile($path);
>
> Data Driven Design
> 1506 Tuscaloosa Ave
> Holly Hill, Florida 32117
>
> http://www.datadrivendesign.com
> Phone: (386) 226-8979
>
> Websites That WORK For You
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Data Driven Design" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Saturday, August 04, 2001 1:01 PM
> Subject: Re: [PHP] file downloads
>
>
> > > I made the changes you suggested and it's still a no go. I'm sure of
the
> > > query because
> > >
> > > print "";
> > >
> > > Will display the image I'm trying to download.
> >
> > How does that make the SQL query valid?  You didn't implement the
> > mysql_query() error checking I suggested.  That's likely what is causing
> > you problems.
> >
> > -Rasmus
> >
> >
>
>
> --
> 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]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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 control

2001-08-06 Thread i_union

Hi all

I'm succsesfuly created online handling form and parse is in Oracle databaze
... but I wana to control each entry before it will be inserted into a
databaze ...
As you guess I nedd form control script which will control entries ...I dont
need Java Script I neeed any small php script which can control form filling
..

Please help me or give me some idea !!!

Thanks in advance



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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] handling form control

2001-08-06 Thread i_union

Hi all

I'm succsesfuly created online handling form and parse is in Oracle databaze
... but I wana to control each entry before it will be inserted into a
database ...
As you guess I nedd form control script which will control entries ...I dont
need Java Script I neeed any small php script which can control form filling
..

Please help me or give me some idea !!!

Thanks in advance





Re: [PHP] Using fsockopen()

2001-08-13 Thread i_union

Hi All

I'm new in this forum and this is a test message if you recived it please
only reply this message .

Thanks in advance




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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] Test

2001-08-13 Thread i_union

hi all 

I'm new in this forum and this is a only test message if you recieved it please only 
reply this message 

thsnks in advance 

 



[PHP] Parsing html table into MySQL

2001-09-16 Thread i_union



I  need to get from another page table and put it into MySQL table
dynamically



for example http://66.96.230.191/table.html  so I need to parse this table
in database.



If you have any code how to implement such operation by using php MySQL
please help me;



thanks in advance



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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] Parsing html table into MySQL

2001-09-16 Thread i_union

No I need to copy the rows values from HTML table you can see it in exlamle
http://66.96.230.191/table.html  This is a live score system which updates
every  2 min, So I need to get these values and parse it in MySQL after that
I neeed to get some element from my database and show in my page..

I have problems in regex I dont know good coding and need only smmall
support Please help me :)



- Original Message -
From: "Christian Dechery" <[EMAIL PROTECTED]>
To: "i_union" <[EMAIL PROTECTED]>; "Chris Lambert" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 10, 2001 7:57 PM
Subject: Re: [PHP] Parsing html table into MySQL


> wait a minute... do you want to parse the HTML to get the values to
> populate a mysql table, or do you have this table in another DB and just
> want it copied to your mysql one??
>
> If it is the former, you'll some very hardcore regex work to be done... I
> once did this... it is very stressing work...
> - you need to analyse the HTML document and find patterns that indicate
> 'begin of row' 'begin and end of column' and 'end of row', 'end of
table' -
> these patterns must be unique or you'll find yourself looking for it
> indefinetly and going into an endless loop - do a giant loop that only
ends
> on 'end of table' and grab the values within this patterns... the code to
> get this done is huge (not complex), and (I expect) will be only used
once,
> right?
>
> At 19:25 16/9/2001 +0500, i_union wrote:
>
>
> >I  need to get from another page table and put it into MySQL table
> >dynamically
> >
> >
> >
> >for example http://66.96.230.191/table.html  so I need to parse this
table
> >in database.
> >
> >
> >
> >If you have any code how to implement such operation by using php MySQL
> >please help me;
> >
> >
> >
> >thanks in advance
> >
> >
> >
> >_
> >Do You Yahoo!?
> >Get your free @yahoo.com address at http://mail.yahoo.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]
>
>
> p.s: meu novo email é [EMAIL PROTECTED]
> 
> . Christian Dechery (lemming)
> . http://www.tanamesa.com.br
> . Gaita-L Owner / Web Developer
>
>
> --
> 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]


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.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]