Search found 29 matches

by LTLhawk
Sun Jul 10, 2005 5:31 am
Forum: PHP coding => General
Topic: php and links
Replies: 5
Views: 1152

I used your second suggestion victor and this worked perfect..thanks
by LTLhawk
Sat Jul 09, 2005 3:21 pm
Forum: PHP coding => General
Topic: php and links
Replies: 5
Views: 1152

php and links

Hi guys,

I am trying to make a link in php but I cant seem to get the syntax right... here is the code:

if ($download1sql != "") { echo "<a href=\"http://$url1sql\">$download1sql</a><br>"; }

what is wrong here..thanks for your help ....
by LTLhawk
Sat Feb 12, 2005 8:53 am
Forum: PHP coding => General
Topic: Starting a program on client computer
Replies: 3
Views: 1250

Starting a program on client computer

Hello all,
Is there a way to start a program on a client computer thru a web page. I am designing a web page for a gaming club and I want to put an icon on the page that when clicked will start the game on the client computer.

Any ideas ?
by LTLhawk
Fri Jan 30, 2004 1:11 pm
Forum: PHP Installation
Topic: Run PHP on localhost and domain
Replies: 2
Views: 2082

thanks sigix,

that worked..
by LTLhawk
Fri Jan 30, 2004 8:49 am
Forum: mySQL & php coding
Topic: searching mysql
Replies: 7
Views: 1773

Muhahaha... I had a bracket in the wrong place... LOL.. thanks for the lesson.... :D
by LTLhawk
Fri Jan 30, 2004 8:20 am
Forum: mySQL & php coding
Topic: searching mysql
Replies: 7
Views: 1773

ah..now we're getting some where... the $Variable is simply some text like "xxx"... I performed the test u suggested and it DOES work as you say.. so, I must be doing something in my script to counter act this... I will do some digging and if I cant find the problem then I'll be back... you have bee...
by LTLhawk
Fri Jan 30, 2004 7:51 am
Forum: mySQL & php coding
Topic: searching mysql
Replies: 7
Views: 1773

I created 3 names in the database xxx_test1, test2_xxx, te_xxx_st3 and here is what I get:

with %Variable% I only see xxx_test1
with %Variable I see nothing
with Variable% I see xxx_test1

this i very wierd. what am I missing here
by LTLhawk
Fri Jan 30, 2004 7:17 am
Forum: PHP Installation
Topic: Run PHP on localhost and domain
Replies: 2
Views: 2082

Run PHP on localhost and domain

Hi Guys, My PHP scripts run fine on my domain name (ip), but I want to be able to run them on my localhost too. What happens now is that they will just show the actual text instead of loading executing it. I know this is probably an Apache config issue, but I am just not sure how to correct it. thanks
by LTLhawk
Fri Jan 30, 2004 3:16 am
Forum: mySQL & php coding
Topic: searching mysql
Replies: 7
Views: 1773

searching mysql

Hello guys, I have a script that searches MYsql for a name in the player field. It looks like this: $result = mysql_query("SELECT * FROM $dbtable WHERE player LIKE \"%$variable%\" ORDER BY $sortby $desc" ,$db); Now $variable is a three letter tag that is at the beginning of the name in player field....
by LTLhawk
Wed Aug 27, 2003 7:00 am
Forum: mySQL & php coding
Topic: mysql_connect
Replies: 3
Views: 993

swirlee you rock....

i used the myslq_error function and it tells me that I do not have access..you are the man..thanks... I must have to do the grant thing you mentioned...very good m8.
by LTLhawk
Wed Aug 27, 2003 5:18 am
Forum: mySQL & php coding
Topic: mysql_connect
Replies: 3
Views: 993

mysql_connect

I want to connect to my database but it only works when I use localhost, if I try and use the ip it does not work. this works: $db = mysql_connect("localhost", "$user", "$password" ); this does not works: $db = mysql_connect("66.66.66.66:3306", "$user", "$password" ); (66.66.66.66 is a fake ip of co...
by LTLhawk
Mon Jul 28, 2003 2:37 am
Forum: PHP coding => General
Topic: ending a program
Replies: 2
Views: 789

thanks swirlee,

I think that will do the trick... Thank you very much...great idea
by LTLhawk
Sun Jul 27, 2003 4:14 pm
Forum: PHP coding => General
Topic: ending a program
Replies: 2
Views: 789

ending a program

Hi again,

Is there a way to kill a task thru php. There is a small dos program that runs in the background on my server that I need to end in order to copy the log file. After I have backed up the log file I will restart the program. I just need to know how to kill it first..

thanks
by LTLhawk
Sun Jul 27, 2003 1:35 pm
Forum: PHP coding => General
Topic: window.open
Replies: 2
Views: 919

ah..of course..I didnt think of that..thanks (I tested it and it works great)
by LTLhawk
Sun Jul 27, 2003 10:37 am
Forum: PHP coding => General
Topic: window.open
Replies: 2
Views: 919

window.open

Hello, I want to be able to open a page using a variable instead of a direct link. Example: this will work: <input name="down" type="button" onClick="window.open('C:/download/file.txt')" value="Click Me"> but what I want to do is make the "C:/download/file.txt" a php variable like <?php $location="C...
by LTLhawk
Tue Jul 01, 2003 11:15 am
Forum: PHP coding => General
Topic: page does not fully load
Replies: 3
Views: 1268

Thanks red, but that command does not seem to be recognized
by LTLhawk
Sun Jun 29, 2003 11:47 am
Forum: PHP coding => General
Topic: page does not fully load
Replies: 3
Views: 1268

page does not fully load

hi guys, I have a php script that loads and calcualtes stuff from a large database. My problem is that the page does not display the entire list. It is like it is timeing out or something. When I have like 900 items in the list it worked fine, but now there are like 2000 and only about 1/2 of then g...
by LTLhawk
Tue May 13, 2003 11:38 am
Forum: PHP General
Topic: comparing strings
Replies: 2
Views: 1257

i found the problem..for some reason the the text in the file had an extra character so I strip this char and it all works good..thank you for replying
by LTLhawk
Sat May 03, 2003 4:30 am
Forum: PHP General
Topic: sort from msql and post to web page
Replies: 3
Views: 1277

well I just tryed that and it works perfectly..thanks a lot man...
by LTLhawk
Fri May 02, 2003 6:18 pm
Forum: PHP General
Topic: sort from msql and post to web page
Replies: 3
Views: 1277

sort from msql and post to web page

the database I have is a set of 14 columns per id and i want to be able to sort the data based on any of the columns I choose. I am not sure how to do this so any help is appreciated. The database would be like this: id name date time year place etc.... 1 henry 3/2/03 2:30 2003 earth etc... 2 frank ...
by LTLhawk
Wed Apr 30, 2003 3:49 am
Forum: PHP General
Topic: comparing strings
Replies: 2
Views: 1257

comparing strings

Hi, I am reading a string from a file and searching a database for that string. The strings dont seem to match even though they look the same. When I compare the two they look identical, but the compare isnt satified and I cant figure out why. I echo each variable to the screen and they look identic...
by LTLhawk
Tue Apr 29, 2003 3:25 am
Forum: PHP General
Topic: reading a string from a file
Replies: 2
Views: 1348

ok thanks red
by LTLhawk
Mon Apr 28, 2003 8:42 am
Forum: PHP General
Topic: reading a string from a file
Replies: 2
Views: 1348

reading a string from a file

Hi again,

I want to read some strings from a txt file. What is the best way to do this with php. fgets will get the entire line and fgetsc only gets a character...I want to read in each word as its own string....

thanks
by LTLhawk
Mon Apr 28, 2003 7:34 am
Forum: PHP General
Topic: browser question
Replies: 4
Views: 1499

If anyone is interested in running php scripts outside of the web server you should look at this....

http://gtk.php.net/

I installe this and now I can run php scripts from anywhere I want...yeahaw
by LTLhawk
Mon Apr 28, 2003 2:24 am
Forum: PHP General
Topic: browser question
Replies: 4
Views: 1499

oh..I see....thanks Andrew