Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ikkerens

Pages: 1 ... 9 10 [11] 12 13 ... 26
151
Humour and Jokes / Re: 9001 signs you're addicted to calcs and Omni
« on: December 10, 2010, 01:39:59 pm »
1058. You love this new smiley: :w00t:

152
KnightOS / Re: KnightOS
« on: December 09, 2010, 08:44:06 am »
Sweet!!  :w00t: <--This smiley rules BTW
Thx, I suggested it to DJ ;)

153
Web Programming and Design / Re: Simple Server Needed
« on: December 09, 2010, 02:29:46 am »
Sir, I'd like you to check your PM Inbox.
Sent you a message.

154
News / Re: Omnimaga helps quadratic solver development
« on: December 08, 2010, 01:56:49 pm »
Noticed I forgot to increase A, fixed on mine, yours is an endless loop xD

155
News / Re: Omnimaga helps quadratic solver development
« on: December 08, 2010, 01:54:01 pm »
Menu 6 times, ah well:
Code: [Select]
0->A
Lbl ME
If A=6
Then
Goto CO
Else
A+1->A
Menu("   Ah Well :P   ","Press Enter",ME)
End
Lbl CO
"Continue
ClrHome
Disp "The Game.","You Lost"

156
Web Programming and Design / Re: Simple Server Needed
« on: December 08, 2010, 01:49:28 pm »
Or you could try out the code using localhost ( http://www.uwamp.com/ or http://www.wampserver.com/ are the most popular )

157
The Axe Parser Project / Re: List of all programs made with Axe Parser
« on: December 08, 2010, 01:48:38 pm »
Splut :w00t:

158
Web Programming and Design / Re: Simple Server Needed
« on: December 08, 2010, 03:30:47 am »
That last code works on my own server, which runs on PHP 4.3.0
Unless your host as safemode enabled, which blocks external connections.
Consider looking for another host? (I believe www.freehostia.com works fine)

159
Web Programming and Design / Re: Simple Server Needed
« on: December 08, 2010, 01:26:07 am »
Quote
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/a6670055/public_html/free.php on line 16
Never got this one before, any chance you have safe mode activated for some reason?
If not, there's something wrong with your server (heavily outdated?)

http_post_data.. dunno what's happening there...
Edit: Doesn't seem to work on my server, either, edited the code a bit since it seems to have the urge to replace the dots with _'s
Fixed:
Code: (php) [Select]
<?php

$url 
"";

//Try to fetch the url
foreach ( $_GET as $key => $value )
{
//I know this method isn&#39;t entirely secure, but it gets the job done ;)
if ( eregi("http://"$key) )
{
$url $key;
}
}

//Do what you want with the url?
$contents file_get_contents(str_replace(&#39;_&#39;, &#39;.&#39;, $url)); //GET
echo $contents;

?>


160
TI Z80 / Re: Axe Raycaster
« on: December 04, 2010, 03:46:28 pm »
* Ikkerens drools.
Ima go make Splut 3d xD

161
Web Programming and Design / Re: Simple Server Needed
« on: December 02, 2010, 01:23:18 am »
Ok, seems your current server doesn't have some default PHP libs installed. (Safemode=true? Never know those blocked 'm)
Instead of preg_match, you can use eregi. The parameters stay the same.
And for http_get, you can use file_get_contents. Again, the parameters stay the same.
That should work ;)

Edit: Edited original code to an alternative

162
Web Programming and Design / Re: Help with Html
« on: December 01, 2010, 02:45:37 pm »
Webkit is the engine running Safari & Chrome ;)

163
Web Programming and Design / Re: Help with Html
« on: December 01, 2010, 02:15:00 pm »
I have tested this in all major browsers (IE, FF, WebKit, Opera) using their most current version about half a year ago.
Dunno about other browsers though ;)

164
Web Programming and Design / Re: Simple Server Needed
« on: December 01, 2010, 02:02:51 pm »
Sorry about the necropost, but I felt the urge to help him :P
Anyway, this script gets the last (didn't check if it was already found) found variable in the $_GET that contains http://
It then stores the url in the $url var and below it does whatever Sir wants to do with it.
Url format should then be: http://www.mysite.com/?http://www.google.com/
Which then sends a GET request (or POST) to google.com

165
Web Programming and Design / Re: Simple Server Needed
« on: December 01, 2010, 01:55:59 pm »
Code: (php) [Select]
<?php

$url 
"";

//Try to fetch the url
foreach ( $_GET as $key => $value )
{
//I know this method isn&#39;t entirely secure, but it gets the job done ;)
if ( eregi("http://"$key) )
{
$url $key;
}
}

//Do what you want with the url?
$contents file_get_contents($url); //GET
$contents http_post_data($url, Array("key" => "value")); //POST, sending $_POST["key"] = "value";

?>


That should work.
Edit: Using eregi & file_get_contents instead

Pages: 1 ... 9 10 [11] 12 13 ... 26