Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Endorsements
Ranked #486
Ranked #914
~28.9K People Reached

36 Posted Topics

Member Avatar for ebanbury

$beds = 2; //// input from search form $area = 'london'; //// input from search form $query = "SELECT * FROM property_details WHERE add_area='".$area."' AND prop_bedroom => ".$beds." ORDER BY add_date_orig_rfc DESC"; // this should grab every property in London with two or more bedrooms and sort by date order …

Member Avatar for guruparthi
0
1K
Member Avatar for happygeek

Not exactly a revelation, it's a long standing problem here in the UK with government departments and many large orginisations being tied into ridiculous support contracts that require them to use IE6. WinXp is of course still around and being re-installed on a regular basis. Then you have the dJuggler …

Member Avatar for MidiMagic
1
693
Member Avatar for FALL3N

Yahoo Pipes has the ability to read the contents of file and assign them to a variable that can be invoked from client side javascript. It's close cousin YQL also has 'storage pockets' 100kb in size that the contents of which can be manipulated by browser javascript in conjuntion with …

Member Avatar for L0st
0
18K
Member Avatar for dancks

> The admin should be shot. Not literally! I am not so sure, the admin could be applying heuristic methods of education. Forcing the the students to learn how the code works in order to find solutions as opposed to them just doing a cut & paste job from a …

Member Avatar for diafol
0
156
Member Avatar for streamland

`$i = 1;/// has to be outside the foreach loop` `foreach($active_keys as $key)` `{// rest of the script}`

Member Avatar for streamland
0
220
Member Avatar for ttkh2011

Yep, need the code for 'myvideo'. Pretty sure the setAttribute is going to the wrong place as the *src* of YouTube videos are wrapped inside an iframe.

Member Avatar for Sogo7
0
125
Member Avatar for StephenopolousINC

http://www.online-convert.com/ is a useful bookmark or you can download the VLC media player http://www.videolan.org/vlc/index.html it's free and has a built in file format conversion function [versions available for PC,Linux and MAC] Been tinkering with something similiar at *lovelogic.net/a_/trans.php* and as long as you include both MP3 & WAV versions of …

Member Avatar for StephenopolousINC
0
334
Member Avatar for <M/>

> I will post my code if needed :) **No need, just move your head to one side so I can look over your shoulder.** Of course not everbody is capable of remote viewing, lives across the street, telepathic, owns a spy sat, has remote access to your PC or …

Member Avatar for ansaripk
0
1K
Member Avatar for Tko_1

if (timeLeft < 0) { window.location = "http://www.google.com/" } Add that to the end of your script it should do the trick.

Member Avatar for Tko_1
0
318
Member Avatar for thak123

Try.. $(document).ready(function() { my_custom_function(); }); JQ has its uses but I think it's overkill for some jobs. <body onLoad="my_custom_function()">

Member Avatar for Sogo7
0
158
Member Avatar for hr.Ziggurat

> but if username or password be invalid , original asp login page is shown with invalid username or password message , i want to do recognize invalid username and password in my page and show message there. > Sounds like [Phishing](http://en.wikipedia.org/wiki/Phishing)? or the beginnings of a Brute Force password …

Member Avatar for hr.Ziggurat
0
2K
Member Avatar for rotten69

> mob.mysite.com Has nothing to do with apps or mobile devices, it's what's known as a Subdomain and can be called anything. They are created using the control panel of your website and will route all traffic to the sub-domains URL directly down to a folder inside your main sites …

Member Avatar for rotten69
0
109
Member Avatar for godzab

` <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>` For jQuery commands to work you have to include the library for it in the <head> section of the page.

Member Avatar for JorgeM
0
169
Member Avatar for nova37

header location ... does not work if something has been put on the screen using echo or print

Member Avatar for gabrielcastillo
0
214
Member Avatar for jdm

**Why not get a free web hosting account over at X10Hosting? they have a one click install for a phpBB forum and will even allow the use of chat scripts.** However if you do not like the idea of the web hosts Admin being able to see what you are …

Member Avatar for jdm
0
108
Member Avatar for bulqr4eto

Flash has some less known quirks and does not actually open inside the current window instead it creates a new one and that automatically gets put on top by the browser. This is why it does not appear to obey z-index settings. There's a documented workaround [here](http://slightlymore.co.uk/flash-and-the-z-index-problem-solved/) but it may …

Member Avatar for Sogo7
0
271
Member Avatar for Raakesh399
Member Avatar for Patiodude

There is a PHP class that gives you a virtual SQL database using flat files. see-> http://www.fsql.org/ Alternatively you could code something up yourself using fileatime & filetime. <?php // get file access/modification times echo "Last accessed on: " . date("d-m-y", fileatime('myfile.html')); echo "Last modified on: " . date("d-m-y", filemtime('myfile.html')); …

Member Avatar for Sogo7
0
261
Member Avatar for dany12

Validating the text content looking for certain keywords (poker, insurance, pharma etc) or script tags and rejecting the message if they are found will reduce the amout of junk messages you get. Spammers are creatures of habit and nearly always try to write links as full code in the hope …

Member Avatar for dany12
1
128
Member Avatar for Daniel_497

After discovering that a replacement ink cateridge was going to cost almost two-thirds of what I paid for the printer it ended up in the trash. Now I just take anything I need a hard copy of down to the local library or photo-print shop on a memory stick.

Member Avatar for Sogo7
0
263
Member Avatar for mbhanley

The snippet below demonstrates the PHP 'preg replace' function that is useful for this sort of text manipulation http://php.net/manual/en/function.preg-replace.php $string = 'The quick brown fox jumped over the lazy dog.'; $patterns = array(); // find these $patterns[0] = '/ /'; //// single blank space $patterns[1] = '/brown/'; $patterns[2] = '/fox/'; …

Member Avatar for mbhanley
0
466
Member Avatar for suavedesign
Member Avatar for PlainOldChad
0
108
Member Avatar for Sogo7

Sometimes user interactive [B][I]web fluff[/I][/B] is useful for holding a visitors attention on a site, so here is a little HTML5 canvas demo to create random numbered lottery balls that bounce around a bit. The basic page code is below and the three external javascript files can be [URL=" http://lovelogic.net/support_articles/lottery.php …

Member Avatar for Airshow
0
547
Member Avatar for anthonyjpv

Users want nice looking websites and javascript validation does perform some nice visual tricks, however... webmasters want security because ANY data coming from a users browser via a URL GET or POST even cookie information is suspect and needs to be checked server side before the other script functions get …

Member Avatar for anthonyjpv
0
136
Member Avatar for MattWhitehead__

You need to contact the OWNERS of the site not people who made the flash widget, this is normally found in the Terms & Conditions of most websites. [QUOTE][B]Contact[/B] If you wish to contact us, or have any concerns about material which appears on this website, please contact us at …

Member Avatar for MattWhitehead__
0
105
Member Avatar for FriXionX

Javascript can read & write information to both cookies and a special client side storage area if a large amount of stuff needs to be stored. However it is not very secure as the visitor can ammend any data stored in their browser. PHP does this sort of thing a …

Member Avatar for FriXionX
0
163
Member Avatar for ronny22

In cms_class.php line 26 change it to this and see if it works. [CODE]$sql = "SELECT * FROM posts WHERE id = '".$id."'";[/CODE]

Member Avatar for simplypixie
0
187
Member Avatar for xecure

It would make more sense to store the distance value between zip codes as a seperate 'look-up' table of pre-computed results as this information will never change.

Member Avatar for Sogo7
0
395
Member Avatar for angiewalkerblue

Any template can be modified to suit a particular flavour of pervision, your biggest problem I fear will be finding a web hosting provider. Most wont accept 'Adult' sites and those that do will charge some pretty steep annual fees.

Member Avatar for davidborg
0
221
Member Avatar for Sogo7

As some of you may or may not know on the 26th of May 2011 new legislation comes into force for any site doing business inside the European Union about the way cookies can be used by websites. Have already prepared changes or are you waiting to see what the …

Member Avatar for jingda
1
124
Member Avatar for EP_95_Z28

You can create and RSS feed for your site using Yahoo Pipes, this can scrape content from the sites own pages to make the feed.

Member Avatar for Sogo7
0
113
Member Avatar for Sogo7

Here's a little brain teaser for you all. A client wants a [B]secure[/B] members only area of thier website with username/password access control, however the sites web host does not support any form of server side scripting or htaccess and to complicate matters further the client will not or cannot …

Member Avatar for Airshow
0
224
Member Avatar for darkslide

Because the videos are embedded and therefore not uploaded to, or stored on your site then the buck stops with you-tube.

Member Avatar for Azmah
0
196
Member Avatar for prem2

Speculation seldom helps form a solution. Whilst Javascript cannot directly access another domain, cross domain requests from a client side javascript are a routine event across the internet for API's such as Yahoo Pipes. Prem2, what exactly are you trying to achieve? or perhaps more to the point is it …

Member Avatar for Airshow
0
191
Member Avatar for ben.matthews18

At the end of the send.php script try this code [CODE] echo "Message Sent"; sleep(2) header( 'Location: http://www.yoursite.com/' ) ;[/CODE] This should put the message on screen saying mail sent, then wait two seconds before sending visitor back to main index page. To get that mail sent message appear on …

Member Avatar for Sogo7
0
219
Member Avatar for aravind326

You can only delete cookies that belong to your domain and the command to do this MUST come from the webserver where the domain is being hosted.

Member Avatar for Sogo7
0
75

The End.