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=0ADDR_CHECK=t=COMPANY=TITL
E=HerrFIRSTNAME=AaaaMIDINITIAL=ALASTNAME=AaaaSTREET=Strandener Str.
1ZIPCODE=51079CITY=koelnCOUNTRYISO=DESTATE=Nordrhein-WestfalenLANGUAGES
=,dePHONE=MOBILEPHONE=FAX=HOMEPAGE=GENDER=MBIRTHDAY=01BIRTHMONTH=1BI
RTHYEAR=1901MARRISTAT=SHOUSEHOLDPERS=1INCOME=0EDUCATIONLEVEL=HSAEMPLOYS
TAT=SCCOMPUTEROWN=0INTERNETUSE=PrivateMPHONE=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]




Re: [PHP] need real expert (geting outer files) *english/german*

2001-08-16 Thread hassan el forkani

hi

that url is 445 characters long; the maximum (i believe) is 255 characters, 
maybe that's why your file is truncated;
just a guess;

regards

At 09:26 16/08/01, you wrote:
http://www29.gmx.net/v4/register?FILE_POS_OLD=0ADDR_CHECK=t=COMPANY=TITL
E=HerrFIRSTNAME=AaaaMIDINITIAL=ALASTNAME=AaaaSTREET=Strandener Str.
1ZIPCODE=51079CITY=koelnCOUNTRYISO=DESTATE=Nordrhein-WestfalenLANGUAGES
=,dePHONE=MOBILEPHONE=FAX=HOMEPAGE=GENDER=MBIRTHDAY=01BIRTHMONTH=1BI
RTHYEAR=1901MARRISTAT=SHOUSEHOLDPERS=1INCOME=0EDUCATIONLEVEL=HSAEMPLOYS
TAT=SCCOMPUTEROWN=0INTERNETUSE=PrivateMPHONE=0



-- 
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-15 Thread ReDucTor

server.com?var=xyz

would put in the get var and set it to xyz

and it would give you $var = xyz you don't need the slash..

  - James ReDucTor Mitchell
- Original Message - 
From: Tribun [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 16, 2001 1:11 AM
Subject: [PHP] need real expert (geting outer files) *english/german*


 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 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-15 Thread Chris Hayes

hi Patrick,
your question is not entirely clear. 
 
 I try to get a URL like: www.server.com?var=xyz

i would recommend www.server.com/x.php?var=xyz as with a link as 
www.server.com you are relying on the server (by the way, which server do 
you use and is the error only at home or only online or...?)  to find a 
standard file in the root directory of www.server.com. And i'm not sure the 
?var=xyz is being passed on to that file then.

 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.

please tell us the error message and what do you mean by getting the file: 
do you mean you get any php output? where does it stop? 


 
 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.

so, how do you 'call the site' else than with a browser? do you mean ftp?

 
 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]
 




--  C.Hayes  Droevendaal 35  6708 PB Wageningen  the Netherlands  --


 

-- 
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-15 Thread scott [gts]

 -Original Message-
 From: Chris Hayes [mailto:[EMAIL PROTECTED]]
 Subject: Re: [PHP] need real expert (geting outer files)
 
 hi Patrick,
 your question is not entirely clear. 
  
  I try to get a URL like: www.server.com?var=xyz
 
 i would recommend www.server.com/x.php?var=xyz as with a link as 
 www.server.com you are relying on the server (by the way, which server do 
 you use and is the error only at home or only online or...?)  to find a 
 standard file in the root directory of www.server.com. And i'm not sure the 
 ?var=xyz is being passed on to that file then.

AFAIK, apache (at least) will honor this syntax and give
the arguments to the index file for the directory --
look in httpd.conf to find out what files are index files.

perhaps the problem with your script is that index.php
is not being loaded properly by apache (or does not exist)
etc. etc... (or perhaps you're not fread()ing enough of
the return data back into your script).

there could be a million things going on... but, as a first
step, take chris's suggestion and fully specify the filename
like so http://www.server.com/index.php?var=xyz


-- 
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-15 Thread Richard Lynch

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]