I have file with extension .dwg (AutoCAD) and I want to call that file from python console and present on web. Have any modules for .dwg extension or some other solution.
I'm looking for a PHP library that will provide me inline diffing between two strings, like this: http://grabby.info/dfe2835f606443757ae7c18404e71781.png.
I'm using xdiff currently, but it's crossing out the entire line when a single word changes, and that's not what I want.
Any suggestions?
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 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?
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
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
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.
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.
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.
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 want to save/open a file in txt format other then CSV in SSRS 2005. So any one who knows how to add file extension in url that can overirde default extension in SSRS 2005..
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?
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...
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
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" />
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
I'm using PHP Doctrine and i've setup autoloading:
spl_autoload_register(array('Doctrine', 'autoload'));
spl_autoload_register(array('Doctrine', 'modelsAutoload'));
I can create a table like so:
$table = Doctrine_Core::getTable('TableName');
However if I try it like this, it doesn't work, what am I missing?:
$table = new TableNameTable(); //Yes it should be TableNameTable
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
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.
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?