login about faq

hi, i m trying to make a script that get the redirected url..

it is working on ActiveX version (windows app) but not on php mode :(

on php mode it's returns null string:(

i tried following code:

                $success = $objHTTP->get_WasRedirected();
            if ($success = true)
            {
                $objHTTP->get_FinalRedirectUrl($objString);
                $strURL =  $objString->getString();
                file_put_contents('completeI.txt', $strURL);
            }

but the output file (completI.txt") is blank :(

can any one help me out please?

best regards

asked Sep 23 '12 at 01:44

mAlam's gravatar image

mAlam
991215


Please provide a sample script w/ URL such that I can reproduce the problem. Also, please indicate the operating system and whether it is 32-bit or 64-bit so that I can provide a new build if necessary.

link

answered Sep 24 '12 at 11:19

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

how to provide the sample script, i don't think this forum support attached.. ok.. check out the following link (zip file) included the php script..

PHP HTTP Issue

for your kind information.. my hosting server is Linux x64

thanks again for your reply..

take care may Allah bless you have a nice day bye bye

(Sep 24 '12 at 12:19) mAlam

mAlam,

I downloaded your script, but it's using an older version of Chilkat. Re-check using the latest builds I just uploaded.

link

answered Sep 24 '12 at 15:39

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

thanks a lot for your support/reply..

sir, i in my another topic/post/question "PHP Zip to memory then provide as download to user.." you give me and tell me to use pre release version but i see. it is 9.3.2

and in your site.. i also see the current version is 9.3.2

then where is the difference in the version you gave me link in other post and the link in your site?

am i clear?

i hope so..

best regards

(Sep 27 '12 at 00:34) mAlam

and yes i like to download only one version.. so, which one should i try.. your site version or the link you gave me (pre release)..

best regards

(Sep 27 '12 at 00:35) mAlam

sir, i downloaded the version from your site.. and it seems. solved the last issue.. but arise a new one..

i use following code:

                $strHTML = $objHTTP->quickGetStr($url);
            $success = $objHTTP->get_WasRedirected();
            if ($success = true)
            {
                $objHTTP->get_FinalRedirectUrl($objString);
                $strURL =  $objString->getString();
                file_put_contents('completeI.txt', $strURL);
            }

but now it seems, it first download the whole file/redirected url, then it shows/export redirected url..

i tried with few file..

and if the redirected file/url is too big, it's take so long to get the redirect url.. but it's works nicely as windows version.. but not on php :(

i hope i m clear..

bets regards

link

answered Sep 27 '12 at 04:10

mAlam's gravatar image

mAlam
991215

I would need an exact URL that allows me to reproduce the problem.

link

answered Sep 27 '12 at 09:16

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

sir, that url is need user authentication.. (user name and password) so, i m sorry but i can't send you that :(..

(Sep 28 '12 at 00:36) mAlam

sir, you have solved my another issue "PHP Zip to memory then provide as download to user.." what about this issue.. ok.. if you want i can send you the link, my user name and password for that site.. but i m sorry i can't post those info here.. can you give me your email address (via PM) so, i can send those info there?

please sir, leave a reply asap

best regards

link

answered Oct 04 '12 at 00:03

mAlam's gravatar image

mAlam
991215

Please try this new HTTP ActiveX build:

http://www.chilkatsoft.com/preRelease/ChilkatHttp.zip

If the problem remains, please send the URL w/ temporary login credentials to me at support@chilkatsoft.com

Best Regards, Matt

link

answered Oct 04 '12 at 12:01

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

sir, for your kind information this post about php extension not ActiveX and i am afraid that release is active x? right?

best regards mAlam

(Oct 04 '12 at 12:34) mAlam

Dear mAlam, What version of PHP do you use, and what operating system? Also, is it 32-bit or 64-bit?

(Oct 05 '12 at 08:02) chilkat ♦♦

thanks again.. for your reply..

sir, for your kind information, i already answer this question.. in this post.. but no problem.. here it is agian..

php 5.3 linux 64bit

i hope this is what you asked for..

best regards mAlam

(Oct 05 '12 at 09:32) mAlam
link

answered Oct 05 '12 at 11:00

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

thanks a lot for your release/try..

but it didn't work .. same.. issue :( it's taking so long ..

once again thanks for your kindness..

best regards

link

answered Oct 05 '12 at 12:07

mAlam's gravatar image

mAlam
991215

dear sir, as you asked/agreed i have sent you a email for the url, username and password

the sent email subject is : mAlam Chilkat Forum post "PHP FinalRedirectUrl is not working.."

i hope those info will help you to investigate the issue..

once again, for your kind information, ActiveX version on windows PC (desktop) works good :) but not the php version :(

best regards mAlam

link

answered Oct 06 '12 at 05:05

mAlam's gravatar image

mAlam
991215

I don't recall ever getting the contents of the LastErrorText captured after calling quickGetStr. Please post it here...

link

answered Oct 08 '12 at 11:57

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×186
×35

Asked: Sep 23 '12 at 01:44

Seen: 2,112 times

Last updated: Oct 08 '12 at 11:57

powered by OSQA