cron job mig33 error login

bagoes4all99

New Member
Messages
3
Reaction score
0
Points
0
anyone can help to fix my problem ::

command php form lke this :

<?php
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “http://wap.mig33.com/member2/t.php?...D&rememberName=on&action=Sign+in&cmd=login”);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_exec($ch);
curl_close($ch);
$ch = curl_init();
?>

and i go to my domain site > http://4all.elementfx.com/migbotbagoes4all.php

and get the error :
Parse error: syntax error, unexpected ':' in /home/leoni/public_html/migbotbagoes4all.php on line 3

help me to fix this problem please ....

original site http://wap.mig33.com/ coz' i want make my id always online with this cron job using x10hosting ....

thanks...:rolleyes:
 

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
Please use
PHP:
, [html] or [code] tags (as appropriate) to separate and format code.

Take a look at the manual. Assuming the sample code is [URL="http://sscce.org/#co"]representative[/URL], left and right double quotes aren't valid quote characters. You can only use neutral [URL="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.single"]single[/URL] and [URL="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.double"]double quotes[/URL], along with [URL="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc"]heredoc[/URL] and [URL="http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.nowdoc"]nowdoc[/URL] syntax.

Even if you fix that, the script most likely won't work. Outgoing connections from the free servers to port 80 have been blocked (except to a select list of whitelisted sites) due to abuse.
 

callumacrae

not alex mac
Community Support
Messages
5,257
Reaction score
97
Points
48
Aand this script would break the ToS anyway - x10hosting is for hosting websites, not scripts.

~Callum
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
HAMMER TIME!

*Loudspeaker squelch* *Ahem* Attention x10hosting shoppers; this kind of script violates the Script Hosting policy of the TOS and often fails to connect because it uses port 80 outbound, much like a content scraper. This one however is considered more of a proxy, and WILL get your account permanently suspended. *click*


Edit: Also, nice job explaining all that was actually wrong with it misson; pity he's probably going to be in a rather foul mood from here forward. :)
 
Last edited:

bagoes4all99

New Member
Messages
3
Reaction score
0
Points
0
thanks for all reply guys... any other way is usefull ... btw ... in here fast reply ... i like this forum...

i will try other script.... :)
 
Last edited:
Top