Search found 10 matches

by cool4cools
Sat May 06, 2006 3:06 am
Forum: mySQL & php coding
Topic: Getting Source Page
Replies: 1
Views: 1908

Getting Source Page

Hi

Having problem getting a source page
i know you can do tricks like
file_get_contents(url)

but what if i wanne send things like
URL, Flags, targetframe, PostData, Headers
also? eny idea especialy postdata
by cool4cools
Wed Apr 26, 2006 8:33 am
Forum: mySQL & php coding
Topic: Little Question before I begin :P
Replies: 5
Views: 3241

It going to be a storage website like a webexplorer upload and download files many times upload is going to be at an upload program download is going to be at the explorer and a download program people create maps, move, delete all windows explorer option but those are all php or asp script my probl...
by cool4cools
Wed Apr 26, 2006 3:31 am
Forum: mySQL & php coding
Topic: Little Question before I begin :P
Replies: 5
Views: 3241

OKay thank you nice tip on PostgreSQL eny more?
by cool4cools
Tue Apr 25, 2006 11:20 pm
Forum: mySQL & php coding
Topic: Little Question before I begin :P
Replies: 5
Views: 3241

Little Question before I begin :P

Hi i am building a storage site for people. Like many others but i was thinking how to build it so had an few questions? It must be stable on 1 milion users 1. What better to use mysql mssql? 2. Every user his own table or every user his own database? 3. Multiple databases to give every user a datab...
by cool4cools
Wed Apr 19, 2006 8:52 am
Forum: mySQL & php coding
Topic: Query mysql select questions
Replies: 3
Views: 2345

Thx Very nice code
by cool4cools
Mon Apr 17, 2006 4:41 pm
Forum: mySQL & php coding
Topic: Query mysql select questions
Replies: 3
Views: 2345

Query mysql select questions

hi

i have a query of select all titles by first letter but how do i select all # (0-9)

$query = 'SELECT * FROM database WHERE Title LIKE "'.$Letter.'%"';

i know i could generate a loop an check strin{1} for isnumeric but isn't it possible in 1 query
by cool4cools
Wed Apr 12, 2006 4:17 am
Forum: PHP General
Topic: forward???
Replies: 3
Views: 2564

thx for the reply :D
by cool4cools
Wed Apr 12, 2006 2:41 am
Forum: PHP General
Topic: forward???
Replies: 3
Views: 2564

like <?php $id = (int)$_GET['id']; $dir = '/path/to/save/directory'; readfile($dir . '/' . $file); if($ip == $_SERVER['REMOTE_ADDR']) { readfile($dir . '/' . $file); } else { print 'Access Denied'; } ?> but then he shows the data as plain text instead of a download option
by cool4cools
Wed Apr 12, 2006 1:37 am
Forum: PHP General
Topic: forward???
Replies: 3
Views: 2564

forward???

hi

how do i forward an url like
http://www.example.com/download.php?id=9583754

$id= "the download url"

but how do i forward the url? form mysql to php to browser?
by cool4cools
Tue Apr 11, 2006 11:34 pm
Forum: PHP & MySQL Security
Topic: limit acces files
Replies: 1
Views: 3522

limit acces files

:offtopic: how do i give an ip restriction to an file without restarting the server? and on toppic :D Example i have users upload files true php and storing links to mysql and only the user who have uploaded the file may download it so i need ip restriction without restarting the server or an other ...