Hi there,
I want to develop a Facebook connect application that can operate both inside a Facebook canvas or standalone.
Can I check if the user is using Facebook canvas / not using the official Facebook PHP client library?
Thanks, Andree
Hey guys,
I need to be able to get the TITLE and DESCIPTION metadata out of a page.
I've been trying to do this but I've been getting more errors than actual results. (I have an array of about 10 URLS, usually only about 2 of them give me the descrption. I have yet to get the title).
So how do I, in PHP, get the Desc and Title from a remote page, and if there is none or if there's an error, ignore it?
-Dylan
I am using XAMPP and was wondering if I can code my site to include RSS feeds. Would the codes work and can I test it if I am working on a local server?
I am practicing using the OReily head First PHP/Mysql book and I'm on the chapter on RSS and getting RSS videos from youtube.
Hi,
I want to remove a part from a text till the given string, and remove another part starting from another string in php.
/.+string/i and /anotherstring.+/i didn't work.
Hi,
i have a very large script which contains a lot of php files, so i need some windows tool or software which converts all those files into UTF-8 without BOM, i know this can be done with Notepad++ but you should convert each one.
Thanks
Hello All,
i want to know that is there any chance of SQL injection via selectbox options?
if yes then will u please show some demonstration(or refer any link).
and also tell me how do we prevent sql injection in selectbox.(using PHP MYSQL)
one more: if i create a selectbox dynamically( based on options of another select box) then is there any chance of SQLinjection?
Thanking you.
I want to create stored procedures through phpmyadmin and later on use it on php. But I dont know how to?. From what I know, I found out that, we cannot manage stored procedures through phpmyadmin. What other tool can manage stored procedure?
And I am not sure if it is better option to use stored procedure instead?
I'm looking for a PHP-based tool for managing source code. Basically like a wiki but for code.
I know that SVN or CVS may be the better option, but I just need something basic that allows users to collaborate. I don't need the ability to checkout or anything like that.
Ok, my problem is that some providers support SREG and some support only AX I need to know how it is that I can request from the provider which methods they support.. I tried looking through the documentation here http://openidenabled.com/files/php-openid/docs/2.1.3/ but I didn't see anything.
I am creating a website with multiple sections--admin, client, user, and anonymous--each user group having less access then the next. I am wondering what form of authentication would be best for my use?
I have heard the if you are just dealing with a websites then a web form is for you (because it's prettier). HTTP header authentication with PHP is said to get clunky/sloppy. htAcess is pretty much the hard core of various authentication methods I have looked up, but is it too much?
So I just got my sorry ass hacked, the hack put some obscure string in almost every one of the php files on my website. How can I remove every instance that line occurs?
The code it added started with
I have a PHP script which takes a value from a row in my MySQL database, runs it through a function, and if it determines it's true returns one value, and if it's false, it needs to go to the next value in the database and check that one until eventually one returns true.
I think I need to use mysql_fetch_assoc, but I'm not really sure in what way to use it... I wish I could post my code to be more specific, but it's a lot of code and most of it has no bearing on this issue...
What is a good PHP payment library that works with Paypal, Google Checkout and Authorize.net?
I did find this library but it is not maintained and doesn't offer Google Checkout. Is there other options such as a service that can handle those three or more gateways?
So say I have a string like so of a path
$path = '/path/to/../../up/something.txt';
Is there a way built into PHP to parse it and come up with a URL without the directory ups (../) ?
E.g.
$path = parsePath('/path/to/../../up/something.txt'); // /up/something.txt
I have a link, which links to domain.com , when a person clicks, I want it to do an ajax call to counter.php and post 2 variables to it, so it can add 1 to the views for that link.
I have a link:
Link Title
How would I do this with jquery?
i check password of users against the db.
what is faster check it in mysql MD5 function
... pwd = MD5('.$pwd.')
OR in PHP
... pwd = '.md5($pwd).'
or what is The Right Way Between two options ?
thanks
Is there an equivalent to Trac written in PHP? I need something that integrates with SVN and is free. It should allow me to browse the SVN source, have some kind of bug tracking and show recent changes in the SVN. A wiki isn't essential.
Thanks in advance.
Basically what I want to do is display an email using javascript to bring the parts together and form a complete email address that cannot be visible by email harvesters.
I would like to take an email address eg [email protected] and break it to:
$variable1 = "info";
$variable2 = "thiscompany.com";
All this done in PHP.
Regards,
JB
How can I save an image safely from a file input field using PHP & MySQL?
Here is the input file field.
<input type="file" name="pic" id="pic" size="25" />
I need to calculate the timestamp of exactly 7 days ago using PHP, so if it's currently March 25th at 7:30pm, it would return the timestamp for March 18th at 7:30pm.
Should I just subtract 604800 seconds from the current timestamp, or is there a better method?
We may replace php app with j2ee app, but the problem is we wanna replace the modules one by one, which means two apps would co-exist and communicate with each other.
So is it possible to share the user session between the 2 apps? Or use cookie to solve the problem?