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: *

  1. verbatim1

    combining php and javascript code

    thanks a million!!!!! greatly appreciated hos2, greatly appreciated.
  2. verbatim1

    combining php and javascript code

    i inserted the javascript onclick="window.open(this.href, '_blank'); return false;"> behind this line $link = "<a href=\"" . "http://www.memblog.com/userz" . "/" . $listDir[$j] . "\">$listDir[$j]</a>"; like so $link = "<a href=\"" . "http://www.memblog.com/userz" . "/" . $listDir[$j] ...
  3. verbatim1

    combining php and javascript code

    I am using a php script to list the websites [folders] in a directory and links to them. I am trying to figure out a way to make another window open when the link to a given folder is clicked with javascript. I have tried placing the javascript code in multiple places with no luck. Any help...
  4. verbatim1

    how do i prevent the url from changing in the address bar?

    thanks for the reply. will the fact that there are multiple subdomains be an issue? when someone goes to john.bar.com i want that to stay in the url. when someone goes to timmy or susie.bar.com i would like for it to say that until they go to someone elses site. how would i configure that...
  5. verbatim1

    how do i prevent the url from changing in the address bar?

    quick question: how do i prevent the url from changing in the address bar? currently, when i type timmy.bar.com - it goes to www.bar.com/okay/timmy but the address bar will continue to show timmy.bar.com. After clicking on a link though, it will show the full url. how do i configure it so...
  6. verbatim1

    htaccess rewriteEngine problem- which of my variables is wrong

    I tried rewriteEngine On rewriteCond %{HTTP_HOST} ^foo\.bar\.com rewriteRule (.*) /okay/foo [L] with no luck , any suggestions
  7. verbatim1

    htaccess rewriteEngine problem- which of my variables is wrong

    i am trying to configure a rewrite rule that will redirect foo.bar.com to www.bar.com/okay/foo i have attempted to alter the script below with no luck ############################ rewriteEngine On # Rewrite <subdomain>.example.com/<path> to example.com/<subdomain>/<path> # # Skip rewrite...
  8. verbatim1

    how do i insert info to a table?

    Thanks again LTeeple, now i get the error: counter INSERT error: 1064, You have an error in your SQL syntax near '<img src='//upload' at line 1
  9. verbatim1

    how do i insert info to a table?

    thanks!! now i get the error: counter INSERT error: 1064, You have an error in your SQL syntax near '<img src='/uploads' at line 1 why is that?
  10. verbatim1

    how do i insert info to a table?

    when trying to insert to a table info for a picture with a html link to another site on it i get an error message: counter INSERT error: 1064, You have an error in your SQL syntax near 'href=""www.mysite.com" target="_blank"><img src="/uploa' at line 1 the mysql code is below $damn = '"<a...
  11. verbatim1

    How can i redirect where my form posts to?

    thanks all for the input. i was looking for a script or site similiar to this one i found on google earlier today: www.cs.tut.fi/~jkorpela/forms/testing.html I was hoping to find something that printed out more info about the cookies though
  12. verbatim1

    How can i redirect where my form posts to?

    sorry, the form: http://www.memblog.com/userz/mel/serendipity_admin.php?serendipity[step]=2a copy and paste the line
  13. verbatim1

    How can i redirect where my form posts to?

    Because I would like to see the data posted. I have successfully submited info to a form with cURL in the past but I have a form on my website that i attempted to post to with cURL with no luck. the form normally posts to itself. How can i change the post action so that the info is sent...
  14. verbatim1

    the curl example FAQ434-2502 gave this error:

    I now know that the "?" means the php script action is back to the same script/page. I would think this would solve my puzzle, it does not. The puzzle: try to submit info to a form using cURL. The puzzle variables: 1. the url of the form: www.mysite.com/userz/mel/sy_admin.php?sy[step]=2b 2...
  15. verbatim1

    the curl example FAQ434-2502 gave this error:

    thanks guys for answering my questions in this post... I have found the error of my ways: In my eager attempt to configure cURL, I was listing the http address of the page where the form was located, and not the URL of the php script that was the 'form action' once i noticed i was posting to...
  16. verbatim1

    the curl example FAQ434-2502 gave this error:

    yes, but i dont think my current setup will get it: <?php // Either 'http' or 'https'. 'https' is only an option if OpenSSH // is available on your system. Check phpinfo() to see whether // HTTPS is available. $HTTP_method = 'http'; // IP-resolvable FQDN of the server $hostname =...
  17. verbatim1

    the curl example FAQ434-2502 gave this error:

    i would like to post the info to a form on a php page, not cgi [which is where my confusion come into play. i believe i should have the webpage address instead of the cgi parameters currently set up in the example. the page is www.mysite.com/syadmin.php how would i direct the script to post...
  18. verbatim1

    the curl example FAQ434-2502 gave this error:

    sleipnir214, What type of cgi script should this php cURL script be connecting to in order to successfully connect to a website and submit a form post? I have realized that this is my error. I was putting the path to the php script in the $CGI path becasue i thought i would only need one file...
  19. verbatim1

    403 forbidden error with cURL script. no access to cgi-bin???

    when i typed in th whole path i go t a 404 error, The requested URL /var/www/cgi-bin/curl2.php was not found on this server. i read on another site that i have booklmarked on another computer that when putting the cgi path, '/var/www/' should be left out. i tried with and without the file...
  20. verbatim1

    403 forbidden error with cURL script. no access to cgi-bin???

    wishdiak, should i put this .htaccess file in the cgi-bin folder, the root directory, or another location? Verb

Part and Inventory Search

Back
Top