Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sussex_Chris

Members
  • Joined

  • Last visited

  1. Why not just include a "Buy Now" button instead? This can be found inside Merchant Tools in Paypal. It will simply redirect them straight to paypal login and make payment and then you can redirect them to a page of your choice once the payment has been made.
  2. At the moment I have got a script that logs day, time, date etc like the following: Friday 10th of April 2009 02:34:16 PM Friday 10th of April 2009 02:34:21 PM Is it possible to use PHP to search through this data to find duplicates? E.g. <?php $DATE = ".date."; if ($DATE>1){ echo "This has happened more than once today"; } else { echo "This is the first time that this has happened today"; } ?> The information is not essential so the only other way I could think of is when doing the original fwrite is to fwrite something to a file and then run a cron job every 24 hours to empty the file and then run a check to see if the file is empty or not.
  3. Done it now with this: <?php require("config.php"); $TestTable = "testt"; mysql_query("TRUNCATE $TestTable"); ?> Thanks Anyway
  4. Basically the script is logging if the user has been to a page or not and if they have then display Page 2, if not then Page 1. It logs by IP address and this gets slow when I am getting 50K plus a day so I dont really mind setting a Cron to clear every 12 hours instead of every 24 hours which I would like but I never expected to receive this much traffic. So as you can see, the data important so I don't mind clearing the logs. Do you know how I could set a process to empt the table?
  5. I have a script and basically it gets very slow when it fills up so at the moment I am manually logging into PHPMyAdmin and clicking on the DB, then the table then Emptying it. config.php: <?php $DBHOST = 'localhost'; $DB = 'testdb'; $User = 'testuser'; $Pass = 'testpass'; $Table = 'testtb2'; mysql_connect($DBHOST,$User,$Pass); mysql_select_db($DB); ?> Does anyone know if I can set up a file that every time it loads clears the database so I can set up a cron to do the job for me? I'm a complete newbie with MySQL and Im no longer in contact with the owner to ask him for help. I have tried looking about but I'm probably looking in the wrong places! I was thinking something like this: <?php ob_start(); session_start(); require("config.php"); mysql_query("TRUNCATE $Table"); ob_end_flush(); ?> Anyone know if this is right?
  6. I have got a PHP file with this line of code: echo '<meta http-equiv="refresh" content="0;url=">'; I want the URL to be a variable, E.g. echo '<meta http-equiv="refresh" content="0;url=$URL">'; But when I do this it loads mysite/$URL instead of loading the URL. Any idea how to add this in so that it is a function/variable instead of interperating that as the URL? As you can tell, Im not good with PHP
  7. Who changed the meaning of POST to GET??? PHP is backwards world, sorted now
  8. Im no PHP expert, Im a complete newbie, only just managed to echo things on one page from another file lol. What I'm looking to do is: Have index.php - This file has a form on it E.g. Enter website here. Once the user clicks submit their website gets sent into a PHP file where it says $SITEURL But I dont want just that, I want to keep all of the other original data in the PHP file, its just the SITEURL that I want to be updated to the PHP file. Would anyone be able to help me with this?
  9. I want to provide an iFrame click and drag application so that you can load a webpage inside the current one and then click and drag the area that you want to iFrame and then export this code to another file where further options will be made. Does anyone know of any sites currently offering this? Anyone know of any PHP/Javascript applications that can do this? Preferably online rather than software.
  10. Thanks for the reply, Ill check them out
  11. Hi Guys, I am looking for a forum script / plugin that allows you to have a paid members area on your forum. E.g. A regular member can see forum A, B & C but someone that is a paying subscriber can also see forum D & E. Does anyone know a script / plugin for this? Thanks in advance
  12. I am having a trouble installing a script to my server, I have been re-reading the install instructions and I have found this: I have never heard of the term intermetdiate URL, does this mean like www.mysite.com instead of www.mysite.com/index.html or the other way around or something like that?
  13. With all of my websites I have an average of 1500 Yahoo! Inlinks whereas I have approx 5 Google Inlinks. Why do I have so little Google Inlinks? Is it just harder to get them or slower for Google to crawl other sites? Also, does anyone have any advice on backlink software that is pretty much automated but wont get me banned from Google!
  14. Thanks a lot for the help, I will probably just have a check on the site every now and again to make sure nothing strange is happening as I suppose you can simply email the support at .tk domains at any point

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.