244 Posted Topics
Re: Well to start off with it uses a CDN. Something like the webhosts will have thousands of servers all over the world. The will also use compression (Google GZip Apache). As well as E-Tags, Cache Control, Expires and Minified content. Just look up those things Regards, Sam R P.S. This … | |
Re: PHProxy is a program for accessing blocked internet sites from other places, it is not technical a proxy its just called PHProxy I.E. a proxy caches pages to speed them up, it can also block sites you don't want people to visit. Try out [url]http://3proxy.ru/[/url] I have never used it … | |
Re: If all you want is a blog or simple information page, Wordpress is the way. If you want something more complicated and customisable try Joomla Regards, SR | |
Re: I don't think you can use network backup drives in anything other than business/ultimate. Might need an OS upgrade :( | |
Re: *This was wrong, read the one bellow :(* Replace [CODE]<input type="Submit" name="Submit" value="Save" onClick="window.location.href='save_button.php'" >[/CODE] with [CODE]<input type="button" name="Save" value="Save" onClick="window.location.href='save_button.php'" > [/CODE] What this creates is a button that does not submit the form just sends the user 2 the right page | |
Re: Shouldn't this be in the ASP forum? If you want help with JS just post some of the pure HTML, not ASP/VB | |
Hi, I currently run my website off one server (192.168.0.4) and all requests for port 80 (HTTP) are sent to this server. However I want 4 out of 10 requests to be proxied to my second server (192.168.0.3) but I don't want port 80 to map to server 2. I … | |
Re: Would it not be easyer to use some sort of SQL (MySQL) database? | |
Hi, I have set up Apache on Fedora 9, the server works fine when I open the browser on the Fedora machine and type in localhost/127.0.0.1 but when I type in 192.168.0.3 (The IP of the machine on my network) i get the error: Failed to Connect The connection was … | |
Re: I quite like the new Dreamweaver (CS4) with its code hints and auto formatting, I know its not free but I quite like it. You also get a load of widgets such as menus and it can automatically create AJAX scripts for you. I use notepad++ as the editor on … | |
Re: OK then, Try this: [CODE]RewriteEngine on RewriteRule ^shopping/leftproducts/([A-Za-z0-9]).html$ /shopping/leftproducts.php?c_id=$1 [L, QSA][/CODE] I will explain the bits of this for you 1stly you need to put the ^ charictar at the start of the string to redirect not just the wildcard 2ndly you should realy just set your variable section to … | |
Re: Check to see if the other server has PHP GD installed | |
Re: This isn't such a crazy idea, its done all the time as a matter of fact. I presume your familiar with javascript, create a function that runs on the click of a link e.g. [CODE=html]<a href="#" onclick="form();">Contact</a> <br/> <span id="Contact"> </span>[/CODE] [CODE=javascript] function form() { return false; action = 'process.php'; //Where … | |
Re: you should be able to do it with a bit of javascript [code=php]<?php echo '<script type="text/javascript">'; echo"parent.window.location = $success_page"; echo'</script>'; ?>[/code] that should work or you could send a link that the user would have to click on with a target of _top [code=php]<?php echo"<a href=\"$success_page\" target=\"_top\">Click Here</a>"; ?>[/code] Hope … | |
Re: Try using time(), it produces a number value that is different every second and would never repeat. You could also add a rand() command to add a random number on the end so even if two people created a product at exactly the same time there would be a slim … | |
Hi, Is there any way to retrieve the contents of a DIV from another website, E.G. there is a div on Youtube with the ID description, how would i get the contents of that DIV? Thanx Sam Rudge | |
Re: With subdomains you could pritty much have anything you want. www. is not required for nearly all web browsers and you can do quide a few subdomains (If your hosting provider allows it) E.G. google.com gives the same result as [url]www.google.com[/url] but there may be a backup server running on … | |
Hi, I have managed to set up HTTPS on my server. I wish to host two different websites over https so I used this code for two virtual hosts: [CODE]<VirtualHost *:443> DocumentRoot "E:/Program Files/Apache Software Foundation/Apache2.2/htdocs/wm/" ServerName www.wm.freeform.ath.cx:443 ServerName wm.freeform.ath.cx:443 ServerAdmin samarudge@freeform.ath.cx SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile "E:/Program Files/Apache Software … | |
Hi, I have a website and I want to have a background that is 200 pixles down but 100% of the width of the page. I do not want the background to repeat. I use photoshop for my image so if there is something I have to do in that … ![]() | |
Re: Use this to generate a form and script [URL="http://www.tele-pro.co.uk/scripts/contact_form/"]http://www.tele-pro.co.uk/scripts/contact_form/[/URL] Make sure you have set up your SMTP server in your PHP.ini (See [URL="http://php.net/mail"]HERE[/URL]) Rgds, Sam Rudge | |
Hi, I have a server with Windows 2003 on, I currently use Virgin Media ADSL as my ISP but they provide dynamic IP addresses so I cant use SMTP and need Dynamic DNS etc. Can someone please provide me with a link to a tutorial as to how I can … | |
Hi, I want to set a function that will count how long a button is held down for however when the button is released I need to run another function that will pass the length of time and a variable passed by the button on to a script usin AJAX. … | |
Hi, I have created a site in Fireworks CS3, i go to export and export the file as HTML. If I open the file from my hard drive in Firefox it works fine however if I open it in [url]http://localhost/[/url] the dropdown menus dont work. I get exactly the same … | |
Hi, I have a windows server 2003 machiene but when i try to log on i get the error This copy of Windows must be activated with Microsoft. You cannot log on until you activate windows. Do you want to activate now? I click yes and the activation appears but … | |
Re: Change your mail command to $status=mail($to,$subject,$message,"From:<from@email.com>"); This will show the email coming from [email]from@email.com[/email] but you can change that to what you want. Regards, Sam Rudge | |
Hi, I have set up a URL rewriting rule for my website: [CODE]RewriteRule ^([A-Za-z]+)/([A-Za-z]+)\.html$ /main.php?Area=$1&Page=$2[/CODE] Which works fine if I request a page like [url]http://mysite.com/folder/something.html[/url] it would show [url]http://mysite.com/main.php?Area=folder&Page=something[/url] but I want to also be able to pass the rest of the query string so something like [url]http://mysite.com/folder/something.html?Bob=Jim[/url] would pass … | |
Hi all, I have just got Windows Server 2003 working. I used to use RedHat linux for my server and the SMTP server allowed me to relay emails to another server as I have a dynamic IP so most email providers will not let me deliver my emails. Is there … | |
Re: I dont know much about IIS but I know that on XP Pro you get IIS but it is limited to 5 connections at the same time. You could probably install XP pro as a partition on your mac and run an FTP server on the windows side. This should … | |
Re: PHP would be best, its easyer to learn and you can have a PHP server for free but you can find some realy good tutorials for both PHP and ASP at [url]http://www.tizag.com/[/url] P.S. I dont work 4 tizag or anything but it helped me learn both PHP and ASP | |
Re: You could just use clever PHP to edit the virtualhosts.conf file and set the Apache restart as a scheduled task for windows at midnight or something. | |
Hi, I wish to set up a wireless network using only my laptop. I can set up an Ad-Hoc network but this is very slow to connect and the clients need lots of things to be set up before they can get on the internet. Is there any way to … | |
Hi, I have got a script to refresh a single image but I want the user to be able to change the refresh rate of the picture by clicking a link. I have tryed the following code: [CODE]<p><IMG src="http://rc-xbot.ath.cx/webcam.jpg" width="320" height="240" border="1" name="refresh"> <SCRIPT language="JavaScript" type="text/javascript"> <!-- function Change(t) { … | |
Hi, I have created a login box that appears on the click of a button that says login (Obviously) but when I load the page the div appears until the page loads. How do I get the div to appear immediately? You can see the page [URL="http://freeform.ath.cx/"]here[/URL] or [url]http://freeform.ath.cx[/url] Regards, … | |
Re: I presume you are using PHP but there is a function called include(); which can include the contentse of a PHP file into your page. look at [url]http://php.net/include[/url] to find out more about it or you can get a good tutorial at [url]http://www.tizag.com/phpT/include.php[/url] | |
Hi, I am running Apache 2.2 with PHP5. All my files are written in PHP so they have the .php extension however I want to remove this extension in the same way google do ([url]http://somurl.com/file)[/url], I can do this leaving the trailing slash on ([url]http://someurl.com/file/[/url]) but I want to remove … | |
Re: You will have to use PHPMailer for an SMTP with autentication as PHP does not let you add authentication for the basic mail() command. | |
Is there any way to name a variable after another variable, I sort of made up this bit of code which I thought might work but it didn't [CODE]<php $V_Name = 'variable'; $"$V_Name" = 'Hello'; print($variable); ?>[/CODE] Bit of a long shot I know but I thought it might work, … | |
Re: Have you set up the SMTP setings in the PHP settings file? | |
Re: Hi, I have tried [CODE]system("psexec -i -d -s C:/WINDOWS/notepad.exe");[/CODE] and when I execute the script from my browser ( IE and FireF@x ) the page does not load. When i looked in the Apache Error log there are the lines: [CODE][Mon May 26 17:51:12 2008] [error] [client 127.0.0.1] PsExec v1.94 … | |
Re: You could do something like this: [CODE]<?php $Name = $_POST["Name"]; $Email = $_POST["Email"]; echo"Thank you $Name,<br/> Your question was sent and we will reply to the email address $Email"; ?>[/CODE] That is obviously a very simple bit of code but you can expand on that and add HTML tags to … | |
Re: Hi, I didn't really know what you ment by this question so I have answered the two possibility's to the best of my knowledge. You could just add PHP tags into your IFrame tag: [CODE]<iframe frameborder="0" scrolling="no" height="<?php print($Hight); ?>" width="<?php print($Width); ?>" src="/page.php" />[/CODE] And add in some variables … | |
Re: Dreamweaver can be a bit touchy about some PHP code, The method I use is: [CODE]<?PHP $Date = date(l); $Date .= " the "; $Date .= date(dS); $Date .= " of "; $Date .= date(F); $Date .= " "; $Date .= date(Y); print($Date); ?>[/CODE] As you can see I have … | |
Re: When you post your form you need to tell it to post the form to the frame called _top, the frame _top is always the main browser window E.G. everything displayed in the browser. You need to add a tag to your <form> tag telling it the frame: [CODE]<form action="/post.php" … |
The End.