Forum: PHP 1 Day Ago |
| Replies: 1 Views: 102 Re: redirect page RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301 |
Forum: PHP 1 Day Ago |
| Replies: 2 Views: 53 Re: intializing variable at time object creation I don't think there is anything else called by the PHP engine during instantiation of a class except for the constructor.
I think the question is why you don't want to override the parent. If the... |
Forum: PHP 1 Day Ago |
| Replies: 1 Views: 66 |
Forum: PHP 1 Day Ago |
| Replies: 1 Views: 95 |
Forum: PHP 1 Day Ago |
| Replies: 2 Views: 79 Re: html to word doc Do you mean convert a word doc into HTML? Thats the only way they can download it in HTML. |
Forum: PHP 6 Days Ago |
| Replies: 11 Views: 315 Re: Echoing PHP variables in JavaScript That is interesting...
I've created an example here: http://de-test1.appjet.net/
But it doesn't execute for the browsers I tested.
It does not seem to me that a JS resource should be executed on... |
Forum: PHP 6 Days Ago |
| Replies: 4 Views: 115 Re: inbox Could you post some of your code?
We cannot help you unless we know how you are retrieving mails. There are many protocols and ways for retrieving email. |
Forum: JavaScript / DHTML / AJAX 7 Days Ago |
| Replies: 2 Views: 283 Re: Dragging images in limited area Get the dimensions of each element. http://www.csscripting.com/css-multi-column/dom-width-height.php
Get the positions of each element. http://www.quirksmode.org/js/findpos.html
When they overlap,... |
Forum: JavaScript / DHTML / AJAX 7 Days Ago |
| Replies: 5 Views: 281 Re: Can anyone help me? You have the javascript within the PHP loop.
You need to take it out so that it loads only once. |
Forum: PHP 7 Days Ago |
| Replies: 4 Views: 115 Re: inbox Is the inbox for email?
How are you retrieving the emails? From a database? POP3? IMAP? |
Forum: PHP 7 Days Ago |
| Replies: 3 Views: 182 Re: video gallery What are you using to play the video? A flash player? direct link? Could you post some of your code... |
Forum: PHP 7 Days Ago |
| Replies: 3 Views: 126 |
Forum: PHP 7 Days Ago |
| Replies: 11 Views: 315 Re: Echoing PHP variables in JavaScript JavaScript isn't executed if you just download the file. That is, if you add the Mime-Type that tells the browser is javascript, and send it the content, it will not execute it.
It is only executed... |
Forum: PHP 7 Days Ago |
| Replies: 5 Views: 77 Re: Time in terms of PHP PHP can measure time in seconds using the time() function.
http://www.php.net/time
or you can use microtime() which is a measure of time in microseconds.... |
Forum: PHP 15 Days Ago |
| Replies: 1 Views: 105 Re: cross scripting issue Sounds like a JavaScript problem. You'll probably get better replies in the JS forum.
You'll need to retrieve the JavaScript that does the form validation also. Most form validation JS will register... |
Forum: PHP 15 Days Ago |
| Replies: 4 Views: 129 Re: Storing button clicks If you will be refreshing the page, then you'll need some form of persistent storage. The choices are to store the results in a client side cookie, or server site, such as with PHP.
If you don't... |
Forum: PHP 15 Days Ago |
| Replies: 2 Views: 114 Re: UTF-8 causing problems with IE6 over SSL Thats pretty nasty.
Have you tried this on different servers with the same results?
Could you post the HTML contents of the page, and if possible the HTTP Request, Response Headers. |
Forum: PHP 15 Days Ago |
| Replies: 19 Views: 383 Re: insrting from one table to another Just a note on this:
When you place user input into an SQL query, always make sure you escape it for SQL injections (used hack into your database). For Strings you can use mysql_real_escape_string()... |
Forum: PHP 17 Days Ago |
| Replies: 19 Views: 383 Re: insrting from one table to another If you want to select just one column, then make sure you ask for just one column. If you only need one row, then limit the results to one row...
eg:
SELECT column1 from table1 where {condition}... |
Forum: PHP 17 Days Ago |
| Replies: 5 Views: 422 |
Forum: PHP 20 Days Ago |
| Replies: 5 Views: 422 |
Forum: PHP 22 Days Ago |
| Replies: 6 Views: 471 |
Forum: PHP 24 Days Ago |
| Replies: 2 Views: 325 Re: Image Scrolling using PHP You can't implement image scrolling with PHP. The scrolling of the images would have to be invoked on the HTTP client, which in this case is the WAP enabled phone. The only way to do this is to have... |
Forum: PHP 24 Days Ago |
| Replies: 6 Views: 471 |
Forum: PHP 24 Days Ago |
| Replies: 6 Views: 471 |
Forum: PHP 24 Days Ago |
| Replies: 4 Views: 356 Re: Meta Keyword Generator I wouldn't jump 2, and 3 words though. Just have one loop, and then take 1,2,3 words from the current word and put them into lists. That way you get each possible phrase. The current misses those... |
Forum: PHP 24 Days Ago |
| Replies: 5 Views: 422 |
Forum: PHP 24 Days Ago |
| Replies: 3 Views: 232 Re: Lab scheduling When you say you know how to use queries, do you mean query the database from PHP or are you just familiar with those queries (sql)?
That is: do you have your PHP page set up, and can query the... |
Forum: PHP 24 Days Ago |
| Replies: 3 Views: 334 Re: How can i create subdomain Here is one way to do it:
You need to be able to edit your dns records. Add a wildcard entry (http://en.wikipedia.org/wiki/Wildcard_DNS_record) for your domain.
Then configure your webserver to... |
Forum: PHP 29 Days Ago |
| Replies: 1 Views: 183 Re: Optimize, Fix MySQL Join Query I've ended up using this query, which is basically just the subqueries wrapped up into one query, but I'd like to do this with JOINs if possible.
SELECT (SELECT COUNT(ma.id) FROM jos_mediaboss AS ma... |
Forum: PHP 29 Days Ago |
| Replies: 1 Views: 183 Optimize, Fix MySQL Join Query I'm trying to create an Alpha Numeric List of links. Each alphabet links to a page that will display rows whose titles start with that alphabet or numeral.
For each alphabet, I want to get the... |
Forum: JavaScript / DHTML / AJAX 32 Days Ago |
| Replies: 19 Views: 1,730 Re: what is difference between javascrpt and JSP? JavaScript was designed for the browser and still is it's main use but its usefulness has outgrown just the browser.
It can run on the server side, just like PHP, Java etc.
It can be a standalone... |
Forum: JavaScript / DHTML / AJAX 34 Days Ago |
| Replies: 3 Views: 597 |
Forum: JavaScript / DHTML / AJAX 34 Days Ago |
| Replies: 19 Views: 1,730 Re: what is difference between javascrpt and JSP? I think that definition would mean that every programming language on a web server is a scripting language since it supports the web server's task of serving HTML. lol.. Just as JavaScript does it... |
Forum: JavaScript / DHTML / AJAX 34 Days Ago |
| Replies: 4 Views: 1,232 Re: Nested Select Boxes in Javascript I think what you want is how to populate a second select box based on the selection in the first select box and/or vise versa. (which isn't really nested select boxes)
Basically, the steps are... |
Forum: JavaScript / DHTML / AJAX 34 Days Ago |
| Replies: 6 Views: 868 Re: Help in AJAX!!!!!!!!!! Normally XMLHttpRequest (XHR) can only be made to the same host.
Cross domain is only possible if the web service (remote host) implements it. Either using a workaround such as cookies, url... |
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008 |
| Replies: 3 Views: 727 Re: unable to send a HttpRequest Use try{ ... yoru code ... } catch(e) { alert(e); } to see whats going wrong.
XHR also requires the same origin for request and remote server. Even if www or a sub domain is considered a different... |
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008 |
| Replies: 4 Views: 1,048 Re: Password protect with cookie How is your ezine subscription implmented? You'll need to be able to retrieve the list of users subscribed to your ezine, and have them insert their email, and/or password before carrying on.... |
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008 |
| Replies: 6 Views: 868 Re: Help in AJAX!!!!!!!!!! Are you trying to figure out how to use the WSDL file to discover an exposed service and make use of it?
Or is the the actual performing of the AJAX requests what you want to figure out? |
Forum: JavaScript / DHTML / AJAX Jun 17th, 2008 |
| Replies: 4 Views: 1,232 Re: Nested Select Boxes in Javascript What do you mean by nested select boxes?
I don't think you can have nested select boxes in HTML. The only thing I can think of that comes close is the optgroup.... |