Search found 13 matches

by ario
Sat Apr 21, 2007 1:24 pm
Forum: Databases
Topic: Getting result from multiple table selection
Replies: 2
Views: 734

That still gives the problem of having to name each column explicitly, which means I have to keep track of all queries like this linking to these tables and change them whenever the fields in the table change. My feeling about that is that I shouldn't have to add on another layer of complexity to th...
by ario
Sat Apr 21, 2007 12:21 pm
Forum: Databases
Topic: Getting result from multiple table selection
Replies: 2
Views: 734

Getting result from multiple table selection

I have a MySQL database and I want to do something like this: I have a table of objects (I'll call it "obj") and I want to search for objects matching a particular where clause and which are linked to users, and then get those objects and users, so: "SELECT users.*,obj.* FROM users, o...
by ario
Mon Feb 12, 2007 10:33 pm
Forum: PHP - Code
Topic: cURL vs file_get_contents
Replies: 3
Views: 947

Never mind. I'd hard-coded the login page URL into the script instead of taking the argument from the function. I can't believe I did that and it took me so long to figure it out.
by ario
Mon Feb 12, 2007 5:40 pm
Forum: PHP - Code
Topic: cURL vs file_get_contents
Replies: 3
Views: 947

>> I'm not sure if setting CURLOPT_SSL_VERIFYPEER to false is affecting this, but when I don't set it, I get null content. So yes, it affects. Sorry, let me clarify my pronouns... by "this" I meant "the problem I am having", not "the entire process". So obviously, that...
by ario
Mon Feb 12, 2007 4:34 pm
Forum: PHP - Code
Topic: cURL vs file_get_contents
Replies: 3
Views: 947

cURL vs file_get_contents

feyd | Please use , and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color] I've been...
by ario
Tue Jan 09, 2007 12:55 am
Forum: PHP - Code
Topic: Throwing error when calling a member function on a null var
Replies: 5
Views: 1070

The example posted was from the command line yes, however it's also possible to see it on a web page. You simply have to have error_reporting and display_errors set correct before the script is loaded. On Apache servers this can often be set via .htaccess if necessary. Thanks; I should have figured...
by ario
Tue Jan 09, 2007 12:43 am
Forum: PHP - Code
Topic: Throwing error when calling a member function on a null var
Replies: 5
Views: 1070

Thanks, but I'm still confused as to how then you managed to get that error message. Did you somehow execute that from the command line?
by ario
Tue Jan 09, 2007 12:35 am
Forum: PHP - Code
Topic: Throwing error when calling a member function on a null var
Replies: 5
Views: 1070

Throwing error when calling a member function on a null var

I've been having problems lately with calling member functions on variables whose values may not have changed from null yet due to other bugs. I'm running PHP 5.1.2 and this is really problematic because it doesn't throw any error, it just stops execution and prints a blank page. Three closely relat...
by ario
Fri Apr 28, 2006 9:47 am
Forum: PHPGD.com
Topic: PNG image transparency in PHP
Replies: 8
Views: 10087

Cool, thanks.
by ario
Thu Apr 27, 2006 12:54 pm
Forum: PHPGD.com
Topic: PNG image transparency in PHP
Replies: 8
Views: 10087

Thank you. I think that'll be adequate for my purposes for now, and certainly I needed to get that code. However, I think what I was really asking was if there is a way to have antialiasing affect the alpha component, like Java's image functionality does. The [url =http://www.php.net/manual/en/funct...
by ario
Wed Apr 26, 2006 7:54 pm
Forum: PHPGD.com
Topic: PNG image transparency in PHP
Replies: 8
Views: 10087

I've already got a workaround for that. IE does support PNGs, it's just a hassle.

My problem is in actually *generating* them. I need to figure out how to do this in PHP, unless someone knows how I can hack my hosting company and get them to increase my memory limits.
by ario
Wed Apr 26, 2006 7:33 pm
Forum: PHPGD.com
Topic: PNG image transparency in PHP
Replies: 8
Views: 10087

Right, I have GD installed and I'm familiar with what it is; what I'm asking is how to use it to do what I specified. (I've tried to figure it out on my own from the libraries and like I said, I've gotten the impression it's not possible, but I'm not really sure about that or why it would be.)
by ario
Wed Apr 26, 2006 4:09 pm
Forum: PHPGD.com
Topic: PNG image transparency in PHP
Replies: 8
Views: 10087

PNG image transparency in PHP

I need to dynamically generate some PNG images for my site. They're pretty simple--a transparent background with some lines, such as this image: http://www.austinmap.org/tiles/tiles_plus/plus_15_13489_7487.png I have a Java program that does this, but my hosting company recently upgraded their PHP v...