hi all, back again I love this forum, lol
below is a simple php class that generates a unique number thats included on all of my forms to prevent xss. admitadly the class was not originally mine just improved and customized a little.
anyways the problem is simple - in my __construct function...
thread434-1618095
A revived thread of a great text autolinking script by jpaide.
It supports many domains / emails and youtube links.
Now to the reason for reposting:
A recent craze of links posted on my site like www.myphaze.co.uk/profile/testing are causing problems facebook and twitter...
Hi all,
I will try to keep this as simple as possible as the project is quite large.
But quite simply we have a signature capture app that capture the coordinates of lines of a signature that posts them into an SQL column as 'image'.
We then convert the contents using:
recSign =...
Hi all,
I am having a small issue when sending data over a TCP socket. Basically I need to send a carraige return as an ASCII code at the end of our data (to signify the end of data stream).
The ASCII code is Alt+13 but when typing this into our perl script it actually performs a carriage...
hi all,
I am working on a signature capture control class provided by microsoft :~ from
http://msdn.microsoft.com/en-us/library/aa446559.aspx
using the vb.net compact frameworks
I have adapted the backend to have an SQL connection to store a load of signatures at a time.
I have one column...
hi all
firstly my apologies for being vague but this baffles me :(
www.myphaze.co.uk
when viewed in my internet explorer 8 if I type jame into my free mp3 search bar I get a javascript error:
line 1 char 62 expected ';'
I do not get this error in firefox or chrome so am really troubled for...
hi all,
not sure if this is technically the correct forum but here goes.
I have tried many different code combinations but this seems to be a little too much for me, in short I would like to rewrite the URL from:
http://www.myphaze.co.uk/content/invite.html
to...
hi all,
I dont use SQL that much as I have no real need but the little I do use it and I come across the following:
SELECT username,email FROM users WHERE username NOT IN('admin','james') AND name LIKE '%test%' OR lastname LIKE '%test%
this may be obvious, I even know the problem however I...
hi all,
my shortened function below simply takes a user input and links any URLs or email addresses appropriatly in HTML so when posted links work as seen on facebook etc
/* Convert all URL matches to appropriate HTML links */
$message = preg_replace('#([\s|^])(www)#i', '$1http://$2'...
Hi all,
Below is a function I have wrote for remembering previous URL vars that have been posted. i.e I have a mail section on my site where you can sort by different things like date or subject. they can also choose to sort asc or desc - my function will remember their previous choice and/or...
Hi all,
This must be an obvious answer but I have never had much dealings in javascript/jQuery.
In short I have a php routine contained in an external file I wish to call via the client side and echo the returned php string into a HTML div
Here is my code to process the file...
Hi there,
It has been a while since I have looked at loops/arrays but this has me stumped. I am using the following code in a couple of other locations and all is fine BUT this time I know there will only be one result from the SQL query this seems to be the issue. When I return multiple results...
hi all,
I have a simple javascript function (below) that basically just displays a row in a table
// This will hide/show the comments on comments table row
function displayRow(rowId){
// Toggle visibility between none and inline
if ((document.getElementById(rowId).style.display ==...
hi all,
this is probably an easy one but just wanted confirmation really - I have a array of names that I want to use in an SQL statement so I need each array item to be surrounded by 's
Heres my implode:
$id_string = "'".implode("','", $follow)."'";
Now this code does work ie it returns...
Hi All
Another task I am faced with on the development of my website project is somehow encypting my variables passed through the address bar. I have seen alot of disscussion on this topic also on goolge but managed to source the following:
Firstly if I have multiple variables ie...
Hi All
I have googled this until my eyes hurt and I cant seem to find a consistant answer. What I basically would like to do is insert the current date and time into a MySQL table with a coloumn defined as 'datetime' and how to get it back acording to the users timezone.
Currently I am now...
Hi there,
My new website: http://www.theunit46.co.uk/
when I view it using IE7 (dev mode) or firefox my <hr> (all pages) and <feildset> (contact and guestbook pages) aligments are to the left or right but they should all be center as they are displayed correctly in IE8. Does anyone have any...
Hi All,
I do not typically program using javascript however I have built a form that requires your date of birth being entered where I have used select boxes. When the user selects a month the script will work out how many days in that month and then populate the days selectbox and then on to...
Hi there,
Firstly apologies as I know this is not technically the right forum but I am using PHP? Anyway I hope you can help.
Basically I have a table for internal user mail that has many rows including UserTo and mail_id. The function below is to delete a message my only problem being because...
Hi there,
This maybe (or at least I hope) really obvious to someone and I apologize if this is in the wrong forum (there are sooo many! lol) but basically sql seems to always return a value of 1 whether a: the query completes, or b: the query did not find any results in either UserFrom or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.