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...
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...
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...
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...
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...
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
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...
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...
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...
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 =...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.