I am programmatically generating several sizes of thumbnails for images.
I need to preserve the color space of an image while removing all (other) EXIF information.
I am using imagick on PHP 5.3, but information on how to do this with any imagemagick API would be helpful.
I'm trying to prune the file size of my image thumbnails as muc...
The Scenario
I have completely rewritten an old existing ASP classic ecommerce website over to PHP.
The database design of the previous site had alot of relational ID problems causing troublesome linking of product data rows to other tables in the database.
To get around this I also redesigned the database, giving products new Primary ...
Hi, i'm using linux and php 5.2.12
i have problem with executing proc_open
if i use
proc_open('php script.php', $descriptorspec, $pipes);
it will show me error
sh: /php: No such file or directory
if i use
proc_open('/usr/bin/php script.php', $descriptorspec, $pipes);
or
proc_open('php script.php', $descriptorspec, $pipes, ...
What is a secured login? How do I develop one in PHP? Please keep in mind that I'm just a beginner in PHP.
...
Hi all, I was wondering whether it was possible to use Favicon in the following manner. I have 2 types of users. Users from Company A and users from Company B. When a company A user logs into the website, I would like them to see Company A's icon/logo in the URL and TAB areas.... However if another user from Company B logs into that same...
Apparently i try to save the data into the mysql, but it didnt work.. Anyone help?
create_users.php
<form method="post" action="checkAvailability.php">
<script>
var macs = {
getMacAddress : function()
{
document.macaddressapplet.setSep( "-" );
return (document.macaddressapplet.getMacAddress());
}}j...
I'm building a basic CodeIgniter site that requires a login before you can access any of the site.
If a user visits some site url, something like this:
http://www.mysite.com/project/detail/2049
AND they are current logged out, I have it set to automatically kick them back to the login page.
My question is, after they login, what is ...
I've pretty much convinced myself that this is just leaky abstraction rearing it's ugly head, but I figured before filing a bug report I might probe Stack Overflow for a more insightful answer...
I'm writing a class in PHP to assist autoloading. I hate using the ridiculous, path-oriented class names like the Zend framework uses, so I've...
Is it possible to use Google Docs for Mailer templates? How can I change template variables via API? Basically, I want to keep a template on Google and export it as a PDF file after changing few variables like name, address etc. Is it possible to do it completely via API in PHP?
EDIT
LiveDocX is providing these features but I think do...
Hi Guys,
I am trying to get some data to display from an Array in Cakephp, the Array has all the data from a find() output and other parts of the data output fine.
The data i am trying to access is the name field inside company , the code i am using is echo $quote['Company']['name'] but it returns and error saying that the index is un...
I want to convert html content as image, is it possible?
<div class='temp'>
<img class='tt'>
<div><img class='tt1' /></div>
</div>
I want to save whole div(class= 'temp') as a image with its content.
...
Hai,
I have a php project , which contain a form named contact us , In this when a user submit that form a mail has sent to the administrator.. My aim is to design this page as dynamic. I mean ,the admin can add or change the fields in contact us page. I have implemented a text editor to do this. here the admin can design the contact pa...
Each user will have a maximum of one image, which will probably be resized and saved as a thumbnail.
I was wondering where would be the best place to store those images, on the server or should I get some type of outside hosting. I have a shared hosting account (with hostmonster if that matters).
Also, what are some good image hosting ...
I want to transform a date from this format: 01/07/09 to this jan 07,09.
How can I do that in PHP?
...
Scenario
I have a old blog on blogger that contains thousands of images and posts, i have already imported the posts from blogger to wordpress using their import service (which does not import images) now i want to write a php cURL script that will download all the images off my old blogger blog to wordpress.
Problem
I have already w...
After a simple query that is successful,
$sql = "SELECT * FROM mytable" ;
$result = mysql_query ( $sql ) ;
is there a way to "drop" a specified column from the $result resource? IOW, the $result consisted previously of 8 fields, but afterwards contains of only 7.
Thanks.
...
I have a simple form with a select menu on the node display page. Is there an easy way to validate the form in my callback function? By validation I don't mean anything advanced, just to check that the values actually existed in the form array. For example, without ajax, if my select menu has 3 items and I add a 4th item and try to submi...
Hi,
I a string that is coming from my database table say $needle.
If te needle is not in my array, then I want to add it to my array.
If it IS in my array then so long as it is in only twice, then I still
want to add it to my array (so three times will be the maximum)
In order to check to see is if $needle is in my $haystack array, do...
I just started a coding related wordpress bog to basicly discuss topics and store code snippets in. I installed a code syntax highlighter plugin which is very nice but I am having a problem. I just tried posting my first code related blog post and wordpress seems to only post some of my code and then it makes some of it not show, like ...
Hi,
I am new to the OpenSSL world and trying to implement SSO on my PHP based application. I have already set up the OpenSSL Library and PHP openssl extension.
Now, what I need to know is, what steps I need to take and where I can find reference of that. My requirement are
1- User will be provided a certificate, and browser will submi...