[PHP] comfortable contact-form (1 problem)

2001-08-06 Thread Tribun

Please help.

http://babynames.pregnancy.yahoo.com/bnfname.htm?n=Patrick

paste this into the browserbar and you'll see the result-page...

but try this through the fopen function via PHP.

I DONT get that! do YOU know any resolutions???

my target is it: to get some informations about variable firstnames into a
variable.

if this string contains "boy" i know the gender (else "girl")

through this way i could skip the "gender" option in my contact-formulars.

e.g. for the personal message "thank you, mrS Jackson" ...

i hope someone can help. thanks!

Tribun
---
www.mp3o.net



-- 
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] comfortable contact-form..

2001-08-06 Thread Tribun

Please help.

http://babynames.pregnancy.yahoo.com/bnfname.htm?n=Patrick

paste this into the browserbar and you'll see the result-page...

but try this through the fopen function via PHP.

I DONT get that! do YOU know any resolutions???

my target is it: to get some informations about variable firstnames into a variable.

if this string contains "boy" i know the gender (else "girl")

through this way i could skip the "gender" option in my contact-formulars.

e.g. for the personal message "thank you, mrS Jackson" ...

i hope someone can help. thanks!

Tribun
---
www.mp3o.net




Re: Aw: [PHP] comfortable contact-form..

2001-08-06 Thread Tribun

no, I dont think so!

look at this:

--  ---

$fp=fopen('http://www.vornamenlexikon.de/main/suchen.asp?kriterium=search&B1
=Suchen&action=searchnow&searchby='.$name,"r");
 if($fp){
  $daten=fread($fp,10);
  fclose($fp);
  $male='/m.gif';
  $female='/w.gif';
  if((strpos($daten,$female)>0)&&(strpos($daten,$male)>0)){
   if(strpos($daten,$male)>strpos($daten,$female))$result='w';
   else $result='m';
  }else if(strpos($daten,$female)>0)$result='w';
  else if(strpos($daten,$male)>0)$result='m';
 }
 if(empty($result)){

$fp=fopen('http://www.kindername.de/'.strtolower(substr($name,0,1)).'-namen.
htm',"r");
  if($fp){
   $namen=array();
   $daten=fread($fp,10);
   fclose($fp);

   $daten=strstr($daten,'VORNAMEN MIT');
   for($cnt=0;strpos($daten,'')>0;$cnt++){
$daten=substr(strstr($daten,''),4);
$tag=substr($daten,0,strpos($daten,''));
if(strpos($tag,'')>0){
 $x1=substr(strstr($tag,''),4);
 while(strpos($x1,' ')>0)$x1=str_replace(' ',' ',$x1);//TAB
 while(strpos($x1,'  ')>0)$x1=str_replace('  ',' ',$x1);//DBLSPACE
 $x1=trim($x1);
 for($i=1;strpos($x1,'')>0;$i++){

$field=strtolower(trim(strip_tags(substr($x1,0,strpos($x1,'');
  if($i==1)$namen[$cnt]=array($field);
  else if($i==2)$namen[$cnt]['gender']=trim($field);
  else if($i==3){
   while(strpos($field,',')>0){
array_push($namen[$cnt],substr($field,0,strpos($field,',')));
$field=substr(strstr($field,','),1);
   }
   array_push($namen[$cnt],$field);
  }else if($i==4){
   if(in_array($name,$namen[$cnt]))$result=$namen[$cnt]['gender'];
  }
  $x1=substr(strstr($x1,''),4);
 } } } } }
--  ---

you can see... it works!

but just, because the target-url's realy exists!


its even not enough for me... the script above only scan german and some
english names.
russian ones like "dimitri" or names like "hassan", etc. are NOT included.

so I tryed to include this function

--  ---
 $fp=@fopen('http://babynames.pregnancy.yahoo.com/bnfname?n='.$name,"r");
 if($fp){
  $daten=fread($fp,1);
  fclose($fp);
  $male='boy';
  $female='girl';
  if((strpos($daten,$female)>0)&&(strpos($daten,$male)>0)){
   if(strpos($daten,$male)>strpos($daten,$female))$result='w';
   else $result='m';
  }else if(strpos($daten,$female)>0)$result='w';
  else if(strpos($daten,$male)>0)$result='m';
 }
--  ---

but THIS one does'nt run, because the URL does not exist.
http://babynames.pregnancy.yahoo.com/bnfname?n=Patrick
or
http://babynames.pregnancy.yahoo.com/bnfname.htm?n=Patrick
http://babynames.pregnancy.yahoo.com/bnfname.?n=Patrick
http://babynames.pregnancy.yahoo.com/bnfnameBLABLA?n=Patrick
is all the saim and WORKS in a BROWSER... but not through the "fopen"
function.

HOW ?

... (or how else ?)

Tribun

PS: I know. its not the best english ;)

<[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> So you are trying to fopen that url? I made a similar
> post on this listserv about it.. I think it is a bug in
> PHP because you cannot pass the = sign into fopen or file.
>
>
> > Please help.
> >
> > http://babynames.pregnancy.yahoo.com/bnfname.htm?
> n=Patrick
> >
> > paste this into the browserbar and you'll see the
> result-page...
> >
> > but try this through the fopen function via PHP.
> >
> > I DONT get that! do YOU know any resolutions???
> >
> > my target is it: to get some informations about
> variable firstnames into
> > a variable.
> >
> > if this string contains "boy" i know the gender
> (else "girl")
> >
> > through this way i could skip the "gender" option in my
> > contact-formulars.
> >
> > e.g. for the personal message "thank you, mrS
> Jackson" ...
> >
> > i hope someone can help. thanks!
> >
> > Tribun
> > ---
> > www.mp3o.net
> >
> >
>
>
>
>
>
> -
> This message was sent using BurstNET® WebMail Pro.
> http://webmail.burst.net/
> BurstNET® - The Speed the Internet Travels®
>
>



-- 
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 2 read an non-existing file?! (I need help)

2001-08-09 Thread Tribun

the following problem:

I want to read out, if the firstname is a boy's name or a girl's name...

therefore I've written this code: (which allready works)

--  ---

$fp=fopen('http://www.vornamenlexikon.de/main/suchen.asp?kriterium=search&B1
=Suchen&action=searchnow&searchby='.$name,"r");
 if($fp){
  $daten=fread($fp,10);
  fclose($fp);
  $male='/m.gif';
  $female='/w.gif';
  if((strpos($daten,$female)>0)&&(strpos($daten,$male)>0)){
   if(strpos($daten,$male)>strpos($daten,$female))$result='w';
   else $result='m';
  }else if(strpos($daten,$female)>0)$result='w';
  else if(strpos($daten,$male)>0)$result='m';
 }
 if(empty($result)){

$fp=fopen('http://www.kindername.de/'.strtolower(substr($name,0,1)).'-namen.
htm',"r");
  if($fp){
   $namen=array();
   $daten=fread($fp,10);
   fclose($fp);

   $daten=strstr($daten,'VORNAMEN MIT');
   for($cnt=0;strpos($daten,'')>0;$cnt++){
$daten=substr(strstr($daten,''),4);
$tag=substr($daten,0,strpos($daten,''));
if(strpos($tag,'')>0){
 $x1=substr(strstr($tag,''),4);
 while(strpos($x1,' ')>0)$x1=str_replace(' ',' ',$x1);//TAB
 while(strpos($x1,'  ')>0)$x1=str_replace('  ',' ',$x1);//DBLSPACE
 $x1=trim($x1);
 for($i=1;strpos($x1,'')>0;$i++){

$field=strtolower(trim(strip_tags(substr($x1,0,strpos($x1,'');
  if($i==1)$namen[$cnt]=array($field);
  else if($i==2)$namen[$cnt]['gender']=trim($field);
  else if($i==3){
   while(strpos($field,',')>0){
array_push($namen[$cnt],substr($field,0,strpos($field,',')));
$field=substr(strstr($field,','),1);
   }
   array_push($namen[$cnt],$field);
  }else if($i==4){
   if(in_array($name,$namen[$cnt]))$result=$namen[$cnt]['gender'];
  }
  $x1=substr(strstr($x1,''),4);
 } } } } }
--  ---

This code works, but I wanted to include another Datebase (Yahoo)

So I included this function:

--  ---
 $fp=@fopen('http://babynames.pregnancy.yahoo.com/bnfname?n='.$name,"r");
 if($fp){
  $daten=fread($fp,1);
  fclose($fp);
  $male='boy';
  $female='girl';
  if((strpos($daten,$female)>0)&&(strpos($daten,$male)>0)){
   if(strpos($daten,$male)>strpos($daten,$female))$result='w';
   else $result='m';
  }else if(strpos($daten,$female)>0)$result='w';
  else if(strpos($daten,$male)>0)$result='m';
 }
--  ---

But this code has no effect. It returns only an Error (404)

The reason therefore is, that the targetting URL does'nt
exist:

Try this URL's

http://babynames.pregnancy.yahoo.com/bnfname?n=Patrick
or
http://babynames.pregnancy.yahoo.com/bnfname.htm?n=Patrick
http://babynames.pregnancy.yahoo.com/bnfname.?n=Patrick
http://babynames.pregnancy.yahoo.com/bnfnameBLABLA?n=Patrick

In a Browser its not nessesary to type in the correct Name
"bnfname". So you can add what ever you want, but the result
is the same (it works)

But the problem is, to downloading this file, because then the reason
is an 404-Error (not existing)

Does anybody know an answer to this problem???

How can I download this file anyway... and read out the information
I want?



Thanks,
Tribun (Patrick)
---
www.mp3o.net


PS: I know. its not the best english ;)




-- 
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.exe EAT's my win resources... (!)

2001-08-10 Thread Tribun

Tach!

Is that correct, that my php.exe opens each time when a user access a page
(e.g. on my intranet-page) ??

Is there no way to say php.exe to run only one time and compile the files
through this instance???

I've designed a intranet-platform for LAN-parties and at our last one, there
were 505 guys, and ~30 accessed my pages at the same time, so the 2 gig-ram
high-end-power PC was to slow to return the queries whitin the 180 sec.
timeout...

(excause my bad english ;)

I hope, someone knows an answer...

10x !

Tribun
---
www.mp3o.net


PS: the LAN-Party's HomePage is called: www.lankoeln.com
(may be some other germans from cologne read this ;)



-- 
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: how 2 read an non-existing file?! (I need help)

2001-08-10 Thread Tribun

at first:  thank you for your answer.


but I'm not sure what you've meant, with
"I'm betting there's code in the code archives to show you how"

Have you any ideas to do that

May be through the CURL function???
(http://www.php.net/manual/de/ref.curl.php)

In fact, I realy dont know. If you can, please help me out ;)

10x!

Tribun
---
mp3o.net

"Richard Lynch" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
04da01c1211b$ecdb1960$6401a8c0@Lynchux100">news:04da01c1211b$ecdb1960$6401a8c0@Lynchux100...
> Yahoo *might* be "detecting" that you're not a "real" browser, since PHP
> probably sends different headers when you attempt to get the file
> dynamically than your browser sends when you type the URL.
>
> So Yahoo may be denying you access when using PHP, but not from your
> browser.
>
> There's nothing to stop you from writing some extra code and talking
> directly to their server and lying to them about what browser you are,
> however.  I'm betting there's code in the code archives to show you how.
>
> --
> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
> - Original Message -
> From: Tribun <[EMAIL PROTECTED]>
> Newsgroups: php.general
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 09, 2001 4:33 AM
> Subject: how 2 read an non-existing file?! (I need help)
>
>
> > the following problem:
> >
> > I want to read out, if the firstname is a boy's name or a girl's name...
> >
> > therefore I've written this code: (which allready works)
> >
> > --  ---
> >
> >
>
$fp=fopen('http://www.vornamenlexikon.de/main/suchen.asp?kriterium=search&B1
> > =Suchen&action=searchnow&searchby='.$name,"r");
> >  if($fp){
> >   $daten=fread($fp,10);
> >   fclose($fp);
> >   $male='/m.gif';
> >   $female='/w.gif';
> >   if((strpos($daten,$female)>0)&&(strpos($daten,$male)>0)){
> >if(strpos($daten,$male)>strpos($daten,$female))$result='w';
> >else $result='m';
> >   }else if(strpos($daten,$female)>0)$result='w';
> >   else if(strpos($daten,$male)>0)$result='m';
> >  }
> >  if(empty($result)){
> >
> >
>
$fp=fopen('http://www.kindername.de/'.strtolower(substr($name,0,1)).'-namen.
> > htm',"r");
> >   if($fp){
> >$namen=array();
> >$daten=fread($fp,10);
> >fclose($fp);
> >
> >$daten=strstr($daten,'VORNAMEN MIT');
> >for($cnt=0;strpos($daten,'')>0;$cnt++){
> > $daten=substr(strstr($daten,''),4);
> > $tag=substr($daten,0,strpos($daten,''));
> > if(strpos($tag,'')>0){
> >  $x1=substr(strstr($tag,''),4);
> >  while(strpos($x1,' ')>0)$x1=str_replace(' ',' ',$x1);//TAB
> >  while(strpos($x1,'  ')>0)$x1=str_replace('  ',' ',$x1);//DBLSPACE
> >  $x1=trim($x1);
> >  for($i=1;strpos($x1,'')>0;$i++){
> >
> > $field=strtolower(trim(strip_tags(substr($x1,0,strpos($x1,'');
> >   if($i==1)$namen[$cnt]=array($field);
> >   else if($i==2)$namen[$cnt]['gender']=trim($field);
> >   else if($i==3){
> >while(strpos($field,',')>0){
> > array_push($namen[$cnt],substr($field,0,strpos($field,',')));
> > $field=substr(strstr($field,','),1);
> >}
> >array_push($namen[$cnt],$field);
> >   }else if($i==4){
> >if(in_array($name,$namen[$cnt]))$result=$namen[$cnt]['gender'];
> >   }
> >   $x1=substr(strstr($x1,''),4);
> >  } } } } }
> > --  ---
> >
> > This code works, but I wanted to include another Datebase (Yahoo)
> >
> > So I included this function:
> >
> > --  ---
> >
$fp=@fopen('http://babynames.pregnancy.yahoo.com/bnfname?n='.$name,"r");
> >  if($fp){
> >   $daten=fread($fp,1);
> >   fclose($fp);
> >   $male='boy';
> >   $female='girl';
> >   if((strpos($daten,$female)>0)&&(strpos($daten,$male)>0)){
> >if(strpos($dat

[PHP] Simple question (what's ISAPI ?)

2001-08-13 Thread Tribun

Hi folks.

Can someone tell me what ISAPI is?

I've requested how I could run PHP faster, if 20 USER's access my files at
the same time.

In my case, PHP run's the php.exe (ca. 5 MB) every time seperatly, and this
eats my win-resources!

Someone guides me to use it as an ISAPI module but WHAT is that? and HOW
can I do that under my win-operation system.

Thank's for any help!

Tribun (Patrick)
---
mp3o.net



-- 
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] need real expert (geting outer files) *english/german*

2001-08-15 Thread Tribun

Hi all.

I habe a strange problem!

I try to get a URL like: www.server.com?var=xyz

the problem is, that this is very good restricted by serverside.

But now I already get the file, and no more the error-message,
but the problem is, that the file will not completly load.

this means, I receive the file, but only the first 4188 bytes from
11988 bytes.

If I call the site with a BROWSER, I'll get the full file, but it
is nessessary to have this page into a string, to read out a specific
position.

what could that be..?
where is the problem?

does anybody know such a problem???

please help me.

If someone believes to have an answer, feel free to
mail me any detailer questions.

thanks for all help.

Tribun (Patrick Lehnen)
---
mp3o.net



-- 
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] need real expert (geting outer files) *english/german*

2001-08-16 Thread Tribun

OK... here are more details...

my trying was to get the content from this url :
http://www29.gmx.net/v4/register?FILE_POS_OLD=0&ADDR_CHECK=&t=&COMPANY=&TITL
E=Herr&FIRSTNAME=Aaaa&MIDINITIAL=A&LASTNAME=Aaaa&STREET=Strandener Str.
1&ZIPCODE=51079&CITY=koeln&COUNTRYISO=DE&STATE=Nordrhein-Westfalen&LANGUAGES
=,de&PHONE=&MOBILEPHONE=&FAX=&HOMEPAGE=&GENDER=M&BIRTHDAY=01&BIRTHMONTH=1&BI
RTHYEAR=1901&MARRISTAT=S&HOUSEHOLDPERS=1&INCOME=0&EDUCATIONLEVEL=HSA&EMPLOYS
TAT=SC&COMPUTEROWN=0&INTERNETUSE=Private&MPHONE=0

(one line!) into a variable.


every other link succeed, but NOT this one.

I've tried to do that with fopen and fsockopen.


may be, i've made something wrong...

I HOPE, u know an answer, how to do that...

and please test it out, what you mean, and if it doesnt work, report anyway
your tryings.


;)

thanks!

Tribun (Patrick Lehnen)

PS: I've tried to solve this problem the hole day... I would like to, but I
cant believe, that someone knows the right solution lets hope ;)





"Richard Lynch" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
00a801c12603$0ccb6c20$6401a8c0@Lynchux100">news:00a801c12603$0ccb6c20$6401a8c0@Lynchux100...
> Subject: [PHP] need real expert (geting outer files) *english/german*
>
>
> > the problem is, that this is very good restricted by serverside.
>
> If you've worked around that, you're probably now seeing something silly
in
> your fread() code...
>
> > But now I already get the file, and no more the error-message,
> > but the problem is, that the file will not completly load.
> >
> > this means, I receive the file, but only the first 4188 bytes from
> > 11988 bytes.
>
> You'd have to show us your source code for how you're dynamically
> downloading only half the file.
>
> We can't just guess at what you've done to make it stop...
>
> It's extremely unliked for the server to decide halfway through a file
> download that you were not a valid user and to quit sending you stuff...
>
> --
> WARNING [EMAIL PROTECTED] address is an endangered species -- Use
> [EMAIL PROTECTED]
> Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
> Volunteer a little time: http://chatmusic.com/volunteer.htm
>
>



-- 
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] .htaccess username

2001-08-16 Thread Tribun

...hmmm, I would guess there is a way, but I dont know why...

Can I read out the active username, which has just logged in through a
.htaccess authentication???

Like the access data..
user: patrick
pass: linux

can PHP reads out the usersname "patrick" ??

(and if ,... how? ;)

10x 4 U'r time.

Patrick




-- 
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] Fussy logic...

2001-08-16 Thread Tribun

Moin!

Has anybody already thought about the problematic conditional on adding an
automatic "BACK" Link?

It seems to be very easy... just Link to basename($HTTP_REFERER);

BUT if you CLICK on this Link, and come to a prior site, the BACK-Link THERE
appears NOT to the PAGE, witch was prior this, but is linked to the Site you
come from...
so the link should better be called "FORWARD".

Do U C the problem???

;)

Has someone an idea to solve it?


Sincerely yours,
Patrick Lehnen (alias: Tribun)



-- 
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] Fussy logic...

2001-08-16 Thread Tribun

yapp.

I know the JS-function, but I was curious if someone knows an beautifuller
solution.

something neater ;)


"Renze Munnik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Thu, Aug 16, 2001 at 10:01:36AM +0200, Tribun wrote:
> > Moin!
> >
> > Has anybody already thought about the problematic conditional on adding
an
> > automatic "BACK" Link?
> >
> > It seems to be very easy... just Link to basename($HTTP_REFERER);
> >
> > BUT if you CLICK on this Link, and come to a prior site, the BACK-Link
THERE
> > appears NOT to the PAGE, witch was prior this, but is linked to the Site
you
> > come from...
> > so the link should better be called "FORWARD".
> >
> > Do U C the problem???
> >
> > ;)
> >
> > Has someone an idea to solve it?
> >
> >
> > Sincerely yours,
> > Patrick Lehnen (alias: Tribun)
>
>
> Patrick,
>
> It's pretty obvious that after using it once it becomes a forward
> link because the HTTP_REFERER is the page you last came from. And
> after using the back-button once, the last page was the 'next'. The
> HTTP_REFERER isn't some kind of history-list.
> If you realy want to go Back, why not use:
> JS: history.back(...);
>
> That way you really use the history-list of the browser. So after
> using it once, it's still a Back-button instead of a Forward-button.
>
> Besides that, using the $HTTP_REFERER isn't really something to rely
> on. $HTTP_REFERER doesn't always have to be set. In that case you
> can't go either Back nor Forward.
>
> --
>
> * R&zE:
>
> -- 
> -- Renze Munnik
> -- DataLink BV
> --
> -- E: [EMAIL PROTECTED]
> -- W: +31 23 5326162
> -- F: +31 23 5322144
> -- M: +31 6 21811143
> -- H: +31 23 5516190
> --
> -- Stationsplein 82
> -- 2011 LM  HAARLEM
> --
> -- http://www.datalink.nl
> -- 



-- 
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: *THANKS* [PHP] need real expert (geting outer files) *english/german*

2001-08-16 Thread Tribun

THANKS!


my best thanks to Richard Lynch !

He advised me to the solution.

It was simply an URLencode missing ;)

(I've guessed that I do that allready but the var-name has changed,
and so the function has taken no effect...)

regards,
Tribun

"Tribun" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all.
>
> I habe a strange problem!
>
> I try to get a URL like: www.server.com?var=xyz
>
> the problem is, that this is very good restricted by serverside.
>
> But now I already get the file, and no more the error-message,
> but the problem is, that the file will not completly load.
>
> this means, I receive the file, but only the first 4188 bytes from
> 11988 bytes.
>
> If I call the site with a BROWSER, I'll get the full file, but it
> is nessessary to have this page into a string, to read out a specific
> position.
>
> what could that be..?
> where is the problem?
>
> does anybody know such a problem???
>
> please help me.
>
> If someone believes to have an answer, feel free to
> mail me any detailer questions.
>
> thanks for all help.
>
> Tribun (Patrick Lehnen)
> ---
> mp3o.net
>
>



-- 
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: flash and php

2001-08-20 Thread Tribun

Simply user the GetVariable function in Flash.

The targeting file must be a PHP-File.

This File should reads out the Informations you want.

If the requests are also variable, call the file through
GET and add "?query=date" to the filename.

The file must echo this...
&variable=something&cat=dog&

Hope you understand my short introduction..

MöfG,
Tribun(Patrick Lehnen)
---
www.mp3o.net


"Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
017701c129a4$6dff2e60$[EMAIL PROTECTED]">news:017701c129a4$6dff2e60$[EMAIL PROTECTED]...
I know this issue has been talk a lot already, but can anyone guide me where
can I find information about how to build a dynamic content flash file
driven by database?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"




-- 
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: flash and php

2001-08-21 Thread Tribun

I can't describe it very well in english, but I try it once again:

1. You cant combine Flash and MySQL.

2. Therefore you must add an interface.

3. You can fabricate this interface using a PHP-File, which reads out the
Database and
send this data to Flash.

3.1. Use a normal php-code to read out the content.

3.2. echo() an output with the variables and their values.

3.3. do that in this format: "&variablename=variablevalue&var2=val2&"

4. Open a flash keyframe and add the following Action-Script:

Actions >
Click on "Load Movie"
Change the option from (I use a german-flash version, so I don't know the
correct names)
"Load Movie from"  to   "Load Variables from"
(the first to the third point)

4.2 type in the URL-Field the filename of the interface-file.

4.3. May be you should change the "Ebene" frm "1" to "0".

4.4. If you want to tell the interface-file, that it should load a specific
data, add to the URL
field the following string:
?varoption=dothat&blabla=wuff

4.5. If this must be a dynamic variable, you must change the "abc" to "="
and the field must be changed again:

"interface.php?do="&dynamicvariable

5. to read the retrieved variables via flash, just handle them like

_level0:variablename


I hope that was a little bit clearer. If you have anyhow any problems, feel
free to ask me again ;)

MöfG,
Tribun (Patrick Lehnen)
---
www.mp3o.net


- Original Message -
From: "Jack" <[EMAIL PROTECTED]>
To: "Tribun" <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 4:46 PM
Subject: ref: flash and php


> Dear Tribun
> I tried to understand what you explained but realised I may need more
> information about this. Is there anyway I can go to look up for more info
> about what you explained?
> Jack
> [EMAIL PROTECTED]
> "Love your enemies, it will drive them nuts"
> - Original Message -
> From: "Tribun" <[EMAIL PROTECTED]>
> To: "Jack" <[EMAIL PROTECTED]>
> Sent: Monday, August 20, 2001 7:43 AM
> Subject: Re: flash and php
>
>
> > Simply user the GetVariable function in Flash.
> >
> > The targeting file must be a PHP-File.
> >
> > This File should reads out the Informations you want.
> >
> > If the requests are also variable, call the file through
> > GET and add "?query=date" to the filename.
> >
> > The file must echo this...
> > &variable=something&cat=dog&
> >
> > Hope you understand my short introduction..
> >
> > MöfG,
> > Tribun(Patrick Lehnen)
> > ---
> > www.mp3o.net
> >
> >
> > "Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > 017701c129a4$6dff2e60$[EMAIL PROTECTED]">news:017701c129a4$6dff2e60$[EMAIL PROTECTED]...
> > I know this issue has been talk a lot already, but can anyone guide me
> where
> > can I find information about how to build a dynamic content flash file
> > driven by database?
> > Jack
> > [EMAIL PROTECTED]
> > "Love your enemies, it will drive them nuts"
> >
> >
> >
> >
> >
>
>



-- 
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 ] ISAPI under Win98

2001-08-21 Thread Tribun

May be it's a dummy question, but I can't find how I can install this ISAPI
module under win98. (I had only an winNT guide)

Can someone please explain it to me thank you. ;)

MöfG;
Tribun (Patrick Lehnen)
---
mp3o.net




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