Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Eloff
  • Order by date
  1. Eloff

    Accessing or requiring a file on another server

    Is it possible? How would I go about doing this? I have func.cgi on one server, and a script that uses functions from it on another server. I do not wish to place them both on the same server so any suggestions? Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada...
  2. Eloff

    Using Sendmail

    Yes I noticed that going back over the program this morning. I shouldn't be writing programs past 1am:) I make stupid mistakes and then stay up hours trying to figure out what they are. Thanks. Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you...
  3. Eloff

    My

    Thanks, that makes sense. Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you dont't succeed, try, try again. - programmer's motto.
  4. Eloff

    how to pass variable to cgi (through url?)

    I don't know what @ARGV does but here's what I do when passing information through with the query string. $query_string = $ENV{'QUERY_STRING'}; then you have id=val1 inside query string and you can split it at the equals sign or do whatever it is you want to do with it. Age: 17 School...
  5. Eloff

    My

    What does my do? Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you dont't succeed, try, try again. - programmer's motto.
  6. Eloff

    Using Sendmail

    Okay there is something badly wrong with this script. I don't know what dev/null does exactly, but without it I get a 500 error, with it the script prints out the Confirmation message but doesn't send any e-mail. I'm not sure what I did wrong but you guys will probably spot it right away...
  7. Eloff

    How do you enter lengthy mySQL commands with PHP?

    Thanks guys it turns out the error was simply a spelling mistake on my part. Thanks to Piti for the mysql_error() function which told me where the mistake was. Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you dont't succeed, try, try again. -...
  8. Eloff

    How do you enter lengthy mySQL commands with PHP?

    I have a mysql insert command that is rather lengthy since it inserts 52 columns of data. Since it won't all fit on one line i have something like the following. $query = "insert into table_name (col1, col2, col3,". etc) values ('$col1', '$col2', '$col3',". etc)&quot...
  9. Eloff

    Perl vs PHP

    Well its not trouble using DBI that stumped me, its installing the bloody thing. The instructions are not very detailed. Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you dont't succeed, try, try again. - programmer's motto.
  10. Eloff

    Brainstorming Session

    Ok I think preg_match_all is the thing to use. However I can't figure out how to make it work. Here's my script: <? $spy = &quot;testing 123 testing&quot;; preg_match_all (&quot;/\d+/&quot;,&quot;$spy&quot;, $spy_pieces); foreach ($spy_pieces as $piece) { echo &quot;$piece&quot;; } ?> Heres...
  11. Eloff

    Brainstorming Session

    Ok lets think here. Split involves splitting a string around a certain item or section. But how do you extract all of the occurances of a certain type of item from a string? If I have a user inputted string with a lot of html and occasionally some numbers ($ values and regular numbers). Is there...
  12. Eloff

    Perl vs PHP

    Well I'm glad to know that its not because PHP has serious problems associated with it. For my current application it is well suited to the task. And besides which I never did figure out how to install that wretched DBI module. Age: 17 School: Alberta Distance Learning Center Location: British...
  13. Eloff

    Perl vs PHP

    It strikes me that PHP is easier to use at taking input from forms and interfacing with mysql. The fact that it fits right into your html page makes it even better. Whats the downside to php? why is perl the industry standard? Age: 17 School: Alberta Distance Learning Center Location: British...
  14. Eloff

    Good PHP books or tutorials

    Does anybody know some really excellent PHP book or tutorials out there? I'm new to PHP, but I'm finding it simpler and more powerful than Perl in some aspects. Any recomended tutorials or books are welcome. Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If...
  15. Eloff

    Retrieving a Cookie

    come on this can't be that hard! Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you can't succeed, try, try again. - programmer's motto.
  16. Eloff

    a good perl editor for windows

    I'd have to say optiperl, it has built in ftp, you can use perl pattern matches to search your script, it has a code explorer, debugger, and a sytax checker, not to mention a built in browser that lets you run your scripts from your computer. It is also quite inexpensive ($60 USD with debugging...
  17. Eloff

    installing DBI

    I'm using a unix system. It is a virtual host, however, so I do not have access to everything on the machine. Right now I'm not even sure if I have telnet access or not. Age: 17 School: Alberta Distance Learning Center Location: British Columbia, Canada If at first you can't succeed, try, try...
  18. Eloff

    Retrieving a Cookie

    ...files, the cookie was set correctly:[\B] testing test www.helpmygame.com/cgi-bin/setcookie.cgi 1024 3656104960 29489240 3228825824 29453031 * here's the script: #!/usr/local/bin/perl use CGI; $cgiobject = new CGI; $cookie_data=$cgiobject->cookie(&quot;testing&quot;); print...
  19. Eloff

    installing DBI

    Whoa okay looking at that almost makes me want to quit this stuff. Am I really supposed to be able to look at that someday AND understand it? I thought I was getting the hang of this stuff until I saw that! Why can't it be something nice and simple like heres 5 files upload em to your cgi-bin...
  20. Eloff

    Stupid Newbie question about mySQL and Perl

    I'm on linux, virtual hosting package. Now i read that in the readme but you have to understand I'm very new to this. I have no clue what that means, perl Makefile.pl? sounds like something typed into a command line. What command line? There are tons of files in the DBI::mysql archive and tons...

Part and Inventory Search

Back
Top