Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Tags
Member Avatar for hknight

In this example, I want "ABC" to be replaced with "XYZ": [url]http://pastehtml.com/view/1avqmak.html[/url] I am posting data using AJAX and I want to use JavaScript to replace the response before the response is returned. If you test the link above you will see the issue. Here is my code: [CODE]<!DOCTYPE html …

Member Avatar for hknight
0
153
Member Avatar for hknight

Using mod_rewrite I use this to test if a file exists: [code]RewriteCond /home/myact/public_html/pagecache%{REQUEST_URI}/index.html -f[/code] How can I test if the file exists and is less than 5 minutes old?

Member Avatar for hknight
0
94
Member Avatar for hknight

I want to place all opening tags in an array. In the example below, the following array should be created: [code] var tagsOpen=new Array(); tagsOpen[]='<h1 class="h">'; tagsOpen[]='<p>'; tagsOpen[]='<strong class="w">'; tagsOpen[]='<p>'; tagsOpen[]='<span style="color: red">'; tagsOpen[]='<span style="color: blue">'; tagsOpen[]='<span style="color: green">'; [/code] That array should be dynamically created from this: [code] <!DOCTYPE …

Member Avatar for hknight
0
226
Member Avatar for hknight

Using PHP's IMAP functions, I want to move 10 messages from the folder "xyz_msg" to the folder "xyz_tmp" Below is the code I use to connect to the email server. [code] <?php $mbox = imap_open ("{imap.gmail.com:993/imap/ssl/novalidate-cert}xyz_tmp", "example@gmail.com", "password") or die("can't connect: " . imap_last_error()); $imap_obj = imap_check($mbox); echo "<pre>"; var_dump($imap_obj); …

Member Avatar for cwarn23
0
856
Member Avatar for hknight

I want to place a styled box with rounded corners around text in a heading. [IMG]http://d9qjx79zqpo3.googlepages.com/h2Goodz.gif[/IMG] The problem is that the the heading may have one, two or three lines and I can't seem to get my box to adjust. [IMG]http://d9qjx79zqpo3.googlepages.com/h2Badz.gif[/IMG] [URL=http://d9qjx79zqpo3.googlepages.com/fancyh2.html]Here is my code:[/URL] I appreciate any help you …

Member Avatar for MJ Pieterse
0
150
Member Avatar for hknight

I use a Tab Pane Script to load form fields into tab panes. It works correctly in most browsers including Firefox and Opera however the form cannot be submitted in Internet Explorer. [url]http://d9qjx79zqpo3.googlepages.com/tabs.htm[/url] [url]http://d9qjx79zqpo3.googlepages.com/tabcms.zip[/url] To test, please click on the link in the admin area, then click on the "Save" …

Member Avatar for hielo
0
108