I need to add a font color changing tool section in my form's text area same as we have in our mail boxes.I tried to find on net but didnt get anything useful.Please tell me how can i implement that font color changing tool on my page using javascript????
...
Hi guys, I am creating a little flash game for the facebook platform, but I am finding it very difficult to get any decent documentation on the graph api and the PHP SDK, so if anyone has a decent resource for a beginner to go and learn the basics, I would appreciate it very much, as I am struggling to grasp the concept.
Thanx!
...
How to include an image inside another image in PHP? I want to do it like in twitterbackgrounds.com personalized backgroud. there is one main image and we can upload four personal images after that it will show as watermark of the main image.
...
Anybody know of any Instant messaging solution that can be deployed on LAMP?
Did some Google search and most of the solution i got were not working as advertised :(
Would appreciate a pointer to any tried and tested solution!
Merci!
...
Hello friends,
How can i prevent user to enter any url or link in contact form text area, i have tried it with this but its not working -
if (!isset($_POST['submit']) && preg_match_all('/<a.*>.*<\/a>/', $_POST['query']))
{
echo "<h1 style='color:red;'>HTML Tag Not allowed </h1>";
}
else {
//sendmail
...
I try to install Wordpress in a Windows Client with WebPI which provided by Microsoft.
Everything installed in my client and finally I saw successful message. with a lunch application link. When I click on it I see following error.
Your PHP installation appears to be missing the MySQL extension which is required by WordPress.
How Can...
how to replace a particular row using php. I dont know the line number. I want to replace a line containing a particular word.
...
Hi,
I have been trying to write a set of htaccess rules that will do the following:
With the url:
mydomain.com/blog/something
If a file called blog.php exists in
the web directory(the directory with
index.php in) then redirect to
blog.php?url=something
If blog.php does not exist, redirect
to index.php?url=blog/something
EDIT: my...
I want to add a 4 sets of polls that each have around 4 radio buttons each for answers - then i would like to add an 'enter your email address' field below these polls.
Finally I would like the submit button after the email field to 'submit' the data from the polls and the email address entered - so only one submit button.
Just to make...
OK, so I bought a 46" screen for the office yesterday, and with the imminent risk of being accused for setting up an "elaborate World Cup procrastination scheme", I'd better show my colleagues what it's meant for ;)
Looking at my simple sketch, and at these great projects from which I was inspired, I would like to get some input on the ...
Hi,
I need to pass a variable to model, that model needs to send another back and use that variable to query a different model.
EG:
I have a product_ID which I send to the product model, From that I find out the supplier_ID. I want to grab that supplier_ID to the supplier model to get the supplier name.
How do you implement this in ...
Hi,
I have a moodle installation in which there is a column in mdl_user table called firstaccess whose type is bigint(10) and contains date in following format 1266839570.
I am writing a query for accessing users according to date filters. For e.g. i want to check which users firstaccess is greater than '2010-04-12'. How can i convert...
Hello,
I cannot $_post['value_to_be_posted'] value into a <form><input type="hidden" value="<? echo $_post['value_to_be_posted'] ?>"></form> in chrome but works in IE and ff.
Any ideas
Thanks
Jean
...
Hello everybody, I have the following code which works on some servers and does not work on others:
$Name = "myname"; //senders name
$email_sender = "[email protected]"; //senders e-mail adress
$recipient = $email; //recipient
$mail_body = "The text for the mail..."; //mail body
$subje...
Hi everyone,
I have this strange behavior, PHP headers act differently on webserver and localhost.
Example
On web hosting function
header("Location: /content/".$page['url_language']."/".$page['direction']."/".$w['id']."/")
redirects to index.php and the /content/".$page['url_language']."/".$page['direction']."/".$w['id']."/" ar...
hi,
since eregi replace was deprecated on version 5.3 i want to make my program compatible with new version of php
http://php.net/manual/en/function.eregi-replace.php
so, i'm trying to use preg_replace like this
preg_replace(",",'','20,000.00');
but come with error
i'm familiar with eregi_replace(',','','20,000.00'); i'm not familia...
Hey guys,
I've seen URL's like this around and I'm just wondering how it is they are used.
Until now I've been using www.mysite.com/users/?id=33
How can I use the other format?
...
Hi dear stackers :P
Thanks to this forum, I learnt PHP header function does not actually send header to Apache server but only to the client.
What I wanna do is to generate an error 500, and let Apache displays its corresponding page. Is there a way to force it ?
Thanks in advance !
(and allez les bleus !)
...
i have read this
http://stackoverflow.com/questions/1567652/doctrine-how-to-remove-part-of-a-where-clause-from-select-query-inside-listener
but, i still cant see how to remove specific part, this is not explicitly written, can some one explain me how ?
a sample of my Doctrine_RawSql
$a = new Doctrine_RawSql();
$a->select...
Is there some limit ? or can I set 100000000 cookies throught a single domain ?
...