I have a URL that when entered returns a file. It's something like http://yourdomain.com/file.php?fileID=43433. If I enter that URL I will get the image or document that I'm looking for. No HTML at all. Just the file.
Now, I'm trying to use the following line to capture that file in order...
cFlaVA hit it on the head. I figured that the function continuously called upon itself until the condition was true and then it returned that value. I didn't think I had to add a "return" line in the else statement. Well done! Thank you SO much! No more banging my head against the wall...
In my 3 years of PHP application development I don't think I've ever been this perplexed. It is rather difficult to explain, but hopefully it makes sense. For brevity I'm not giving details about the database table structures. Really it is irrelevant for what my problem is, which appears to be...
I figured this out... and the only way was to have the javascript rewrite the entire SELECT box on refresh. Not too big of a hassle really. But if you place the SELECT inside of a DIV, you can just rewrite the contents of the DIV's innerHTML property. When you rewrite the entire dropdown, it...
I know how to change the width of the select box, but I'm not sure how you can resize automatically to fit the width of the widest option. Is there a way to get the width of an option tag?
I have a SELECT dropdown that is being updated dynamically through Javascript. However, the width of the dropdown never changes. It is always the width that it starts out as. If I initialize the dropdown with one option that is 25 characters long, the dropdown will stay 25 characters long and...
We had one user who stopped receiving email this morning. I verified this and after a server restart he started receiving email OK again. However the emails during that downtime are nowhere. There are NO emails in qmail's queue and they didn't get bounced back.
So what HAPPENED to these emails?
I've seen sites that force form fields to load empty, regardless of the browser's auto-populate settings. How does one do this? I've looked everywhere for info on this but have come up empty.
I am building a new site and I wish to integrate the same effect that istockphoto.com has achieved with its thumbnail view:
http://www.istockphoto.com/file_search.php?action=file&text=cow&filetypeID=&x=0&y=0
If you scale your browser window wider and thinner you will see that the thumbnails...
I got this to work, by moving the .htaccess out of the site root and into the /shop directory. Not sure why, but that worked... thanks for your help. Any idea why it didn't work in the site root?
I'm afraid this is a rather foreign topic to me. I tried to add a line to my .htaccess file to log mod_rewrite activities to /var/log/rewrite.log:
Options +FollowSymLinks
RewriteEngine on
RewriteLog "/var/log/rewrite.log"
RewriteCond %{QUERY_STRING} cPath=3_28
RewriteRule ^index.php$...
I am trying to redirect a page in our eCommerce website but have been unsuccessful thus far in doing so. We need:
http://www.mydomain.com/shop/index.php?main_page=index&cPath=3_28
to point to:
http://www.mydomain.com/shop/creative/solutions
Any suggestions? I've tried the following in my...
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.