Hi guys...
Hope this isn't a waste of your time. I'm working on a project, and it occured to me that there's a chunk of code out there, that should allow me to see how others have implemented this.
I've got a project where I'm going to have a page, with a sel box. the user will select an item from the selList, and based on the item se...
I currently have a script that scrapes proxies off websites, but I'm just wondering what the best way to test them would be, I want to test and sort into different categories like
All
ALL HTTP
ALL SOCKS
Socks 4
Socks 5
HTTPS
HTTP Connect
...
Hello,
I'm currently building a new online Feed Reader in PHP. One of the features i'm working on is feed auto-discovery. If a user enters a website URL, the script will detect that its not a feed and look for the real feed URL by parsing the HTML for the proper tag.
The problem is, the way im currently detecting if the URL is a feed ...
Any difference, performance-wise?
...
I have written a REST service that uses WSSE as an authentication method but i want to be able to use this rest service through a browser by creating a website around the service. I want the user to be able to log in on the website then when they view, for example the "view users" page an ajax request is made to test.com/users and back c...
I have already a site with a single homepage index.php which accepts 2 parameters like
http://mydomain.com/index.php?param1=something&param2=somethingelse
param2 can be optional
I want to install wordpress on the root directory, except for index.php and the above url, I want wordpress to show the blog pages.
How to do that either...
Hello everybody,
I want to convert a pdf file to an image with PHP, but i can't get the command worked. PHP returns a 4. I don't have any kind of idea what that can be.
I am using the next code:
$tmp = system("convert -version", $value);
var_dump($value);
Someone an idea?
...
on reflecting how to talk with prospect customers on technologies for web applications, what are important requirements for chosing a specific technology?
I am biased towards ruby on rails, but the code base and community of PHP is larger, while the user experience of flash sites is often an advantage to the segment of higher paying cust...
Edit: Look at this question with IE8 and compare it to Firefox 3.6.
I am using PHP/Pear HTMLQuickForm and HTMLQuickForm_Controller to do some stuff with HTML-forms. Then I noticed that certain phone numbers would not be displayed even though the data had been loaded correctly.
I boiled it down to the following rather strange phenomenon...
I am trying to figure out just how "efficient" my server-side code is.
Using start and end microtime(true) values, I am able to calculate the time it took my script to run.
I am getting times from .3 - .5 seconds. These scripts do a number of database queries to return different values to the user.
What is considered an efficient exec...
So I have a string that is in another language, most of it looks great, but parts of it is encoded incorrectly. How do I convert the literal string \u0026#39;n into its unicode(?) equivalent in PHP?
...
Hi,
I'm trying to learn the Symfony framework for PHP but having issues with the command line version of php.
When trying to create the database tables:
./symfony doctrine:insert-sql
I'm getting the following error:
Couldn't locate driver named mysql
This is only an issue with the command line version of php. I've had doctrine wo...
This may be a ridiculous question, but it's been bothering me for a while.
I have a mail forwarder piped to a PHP script, it receives perfectly, however I have the following error mailed back to me instantly:
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address...
Hi,
i've coded a tiny forum software in php where people posts threads, and i want to support tags.
How many SQL tables should i make for this ? and briefly how the tags system will work?
Thanks
...
I've an img element with dynamically changing image. I always want to show this image in its full dimension.
So, I think, I've to dynamically change width and height attributes in img tag.
How can I do this in php or javascript?
...
I am using reccomended app. structure ( http://framework.zend.com/manual/1.10/en/project-structure.filesystem.html ) in Zend Framework but I cant get each module config working.
It just doesn't load modules/mymodule/configs/application.ini file into configuration.
...
How can I convert
ereg_replace(".*\.(.*)$","\\1",$imgfile);
to
preg_replace... ?
?
I'm having trouble with it?
...
I'm trying to make a function that will take short hand hex color to the long hex color.
For example if someone submits "f60" it will convert to "ff6600". I understand I need to repeat each number as itself, but what is the most efficient way to do this?
Thank you.
...
I'm looking for advice, tutorials and links at how to set up a mid-sized web application with Kohana 3. I have implemented MVC patterns in the past but never worked against a "formalized" MVC framework so I'm still getting my head around the terminology - toying around with basic examples, building views and templates, and so on.
I'm pr...
Hello
I have a table : tags(tagname,entryid,stamp) and i want to make a section for the most trending tags today, the tagname column has no unique value, because many entries has the same tag, so the php code that i want should display the most attached tags today.
Note: the "stamp" column is the date of adding the tag in UNIX time sta...