Search found 33 matches

by fishown
Wed Mar 02, 2011 10:46 am
Forum: PHP - Code
Topic: check if page showd thught iframe
Replies: 1
Views: 161

check if page showd thught iframe

Hi everyone,
As my topic says, I want the my code to run only if it shows thought Iframe.
I serch the net with no answer so far, and I dont sure that method even exists,

Any one saw or have an idea of how to write something like this?

Thanks adi.
by fishown
Wed Feb 23, 2011 7:33 pm
Forum: PHP - Code
Topic: pull data from "require login" page with curl
Replies: 0
Views: 192

pull data from "require login" page with curl

Hi, So as my topic says, I want to login to a web site and pull data from it, I wrote the follow cUrl script that get 301, and I cant find why... If some one can check my code out and point on my mistake I will be greatful, thanks guys. The code goes like this> entering the index pages, to get the s...
by fishown
Mon Feb 21, 2011 6:46 am
Forum: PHP - Code
Topic: charge credit card with php script
Replies: 1
Views: 152

charge credit card with php script

Hello everyone, I thought about adding credit card payment method to my site, I did a little Goog search and it seems that all the tutorials focus on third-party web sites, well its not that I chose not to do it with third-party site its just that I want to know all my options before i choose. If yo...
by fishown
Thu Feb 17, 2011 9:13 am
Forum: PHP - Code
Topic: Script stop working in the middle (time out problem i guess)
Replies: 3
Views: 564

Re: Script stop working in the middle (time out problem i gu

Hi,
In metter of fact, I dont know if ther is any error.
The script is running from and jQuery ajax, and uptpot progress to the javascript,
So I dont actualy can see any output.
Bytheway this is my private box, so I wonder where is the php error-log that i oculd see if ther is any,,

Thank you
by fishown
Wed Feb 16, 2011 7:31 pm
Forum: PHP - Code
Topic: Script stop working in the middle (time out problem i guess)
Replies: 3
Views: 564

Script stop working in the middle (time out problem i guess)

Hello every one, I wrote the screep below to download fime from HTTP to my server using 'cURL'. The script starts just fine, just Stop working in the middle. I would be more then happy if you could check my code, and advice me where sould I look. Thanks guys... <?php set_time_limit(0); ignore_user_a...
by fishown
Fri Feb 11, 2011 4:48 pm
Forum: PHP - Code
Topic: Ideas for trasfering data from php to js
Replies: 2
Views: 275

Ideas for trasfering data from php to js

Hello every one, Program Backgound: My program is basicly download huge files from anouther server over HTTP/FTP protocols, As you can imagen this this action take some time, So I decide to add progress bar to this action. So what I did so far (that by the way pritty lame): Index.php - recive the ad...
by fishown
Thu Feb 10, 2011 6:55 pm
Forum: PHP - Code
Topic: Download file from http to the server..
Replies: 1
Views: 184

Download file from http to the server..

I Googled that ...and seems that one of the following acured...

First..ther is nothing like that using php only...
Secound.. I just built a wrong sentens to search...

So just to be sure... dose php alone capable of doing that?

thank guyes..
by fishown
Thu Feb 10, 2011 5:24 pm
Forum: PHP - Code
Topic: check if user has closed the window...
Replies: 1
Views: 248

check if user has closed the window...

Hello every one, I have a page that send file through cURL, This page start through an java script page with ajax, and retrun data to the javascript page to present progress.... Until that proint everything works just fine, My problem is that when the user close the window the process proceed, which...
by fishown
Tue Feb 08, 2011 11:58 pm
Forum: PHP - Code
Topic: cURL keep running after the user close browser
Replies: 2
Views: 219

cURL keep running after the user close browser

Hello everyone =],

I couldent find how to stop my PHP/cURL script if the user is closing the browser ...

Is it possible?

Thanks =]...
by fishown
Sun Feb 06, 2011 7:36 pm
Forum: PHP - Code
Topic: [Q]cURL Download from php and output progress
Replies: 2
Views: 2130

Re: [Q]cURL Download from php and output progress

The problem was that the "callback"/"Progress" function return nothing. Any way, I think I solved the problem, more like figured what cause the problem and I would like if some one will back me up befor im running to install new php version on my server. I rad the "PHP 5 Cha...
by fishown
Sun Feb 06, 2011 9:36 am
Forum: PHP - Code
Topic: [Q]cURL Download from php and output progress
Replies: 2
Views: 2130

[Q]cURL Download from php and output progress

Hello every one, =] Im having a problem retrun the progress of an PHP cURL script, well I just couldn't find how to. P.S: I do know that I will have to use javascript to present the output. I wrote the following: (which as i mentioned download file from ftp to the server using cURL functions); <?php...
by fishown
Thu Feb 03, 2011 10:34 pm
Forum: PHP - Code
Topic: [Q] check how much http connection
Replies: 1
Views: 204

[Q] check how much http connection

I just want to know if the any "Built-in" function that return the number of the http connection,
Or even better the number of the peoples that curently downloading from my server.
Any if so, to check if certain IP is downloading from my site.

Thank you, again ;-]
by fishown
Thu Feb 03, 2011 7:23 am
Forum: PHP - Code
Topic: build progrssbar while downloading from ftp
Replies: 2
Views: 105

Re: build progrssbar while downloading from ftp

thank you,
but i ment FTP uploader script with progressbar....
by fishown
Wed Feb 02, 2011 4:50 pm
Forum: PHP - Code
Topic: build progrssbar while downloading from ftp
Replies: 2
Views: 105

build progrssbar while downloading from ftp

Im haveing a problem building an progress bar to my php download from ftp script, every thing i try tarns as a huge mistake, I dont know if it posible... if some one can give any directions it will be great. *Im downloading from remote FTP to the FTP on my server of course. (and i know i supose to c...
by fishown
Tue Feb 01, 2011 5:11 pm
Forum: PHP - Code
Topic: [Question] Get page percent loaded ...
Replies: 2
Views: 179

[Question] Get page percent loaded ...

Just wonder,
Is ther any way to to read how much percent of the current page is loaded? or how much left?

Im transfering file thrught ftps, and i want to show an progress bar.

thanks =].