Re: [PHP] variables

2007-08-19 Thread Micky Hulse
Augusto Morais wrote: I want create a variable based in another variable. Example: Maybe this will give you some ideas?: Good luck! Cheers, Micky -- Wishlists: Switch:

[PHP] This is a bug?

2007-08-19 Thread Augusto Morais
I dont know what is happening... Can somebody clarify the situation for me? here is the situation: i have 3 files: class.php foo.php bar.php // - class.php class globalactions { function include_file($module) { if ($module) { return ("modules/"

[PHP] variables

2007-08-19 Thread Augusto Morais
Hi, I want create a variable based in another variable. Example: $foo (a simple variable); $myvar_foo Does it possible? Thanks Augusto Morais -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is this a bug?

2007-08-19 Thread Augusto Morais
I dont know what is happening... Can somebody clarify the situation for me? here is the situation: i have 3 files: class.php foo.php bar.php // - class.php class globalactions { function include_file($module) { if ($module) { return ("modules

Re: [PHP] Redirection with header (was Re: [PHP] Cookies and sent headers)

2007-08-19 Thread tedd
At 10:40 PM +0200 8/19/07, Wouter van Vliet / Interpotential wrote: What you're proposing, is to actually display some content on another page then were the content is originally intended? I'm sorry, but I would consider that 'bad practice'. To me, it makes perfect sense that you don't want to le

[PHP] Re: Render fonts

2007-08-19 Thread Hamza Saglam
Hi Emil, Just an alternative solution you may want to consider.. Rather than converting your captions/headings to images, you can also use the sIFR Image replacement technique. Quote from the the author's description: "sIFR is meant to replace short passages of plain browser te

Re: [PHP] iterating and changing value of an array using foreach and references - PHP 5.2.3

2007-08-19 Thread Sean Pringle
On 8/18/07, Yashesh Bhatia <[EMAIL PROTECTED]> wrote: > Hi, > > Here's an interesting observation i noticed while using foreach to > iterate on arrays using > references for it's values. > > >

Re: [PHP] Redirection with header (was Re: [PHP] Cookies and sent headers)

2007-08-19 Thread Wouter van Vliet / Interpotential
What you're proposing, is to actually display some content on another page then were the content is originally intended? I'm sorry, but I would consider that 'bad practice'. To me, it makes perfect sense that you don't want to leave the user on the page where login was originally handled. For vario

[PHP] Re: Render fonts

2007-08-19 Thread zerof
I would like to render some fonts into images, for captions on a site. What tools should I use to get the best looking render? Do you guys use the built-in tools PHP has, or are there third party libraries that does a better job? ... http://www.educar.pro.br/en/a/gdlib/ -- zerof ht

RE: [PHP] getting from one table listing from another

2007-08-19 Thread Jay Blanchard
[snip] However, the LEFT and RIGHT will take me a while to figure out. [/snip] FROM table a LEFT OUTER JOIN table b ON(a.column = b.column) Just follow the order tedd, a is on the left and b is on the right LEFT OUTER -> a -> b (what may be in a might not be in b) a <- b <- RIGHT OUTER (what may

Re: [PHP] getting from one table listing from another

2007-08-19 Thread tedd
At 12:56 PM -0500 8/19/07, Larry Garfield wrote: On Sunday 19 August 2007, tedd wrote: > Wouldn't this be simpler? SELECT a.name, b.points FROM table_name a, table_name_points b > WHERE a.name = b.name There are various kinds of JOINs. The most common you'll actually use are INNER JOI

[PHP] Re: Render fonts

2007-08-19 Thread Al
Take a look at the PHP Imagick library API for Imagemagick. Imagemagick will create as good quality fonts as you like. Here is an example of one I've done in a test file. http://www.ridersite.org/imagemagick/Imagick.php Emil Edeholt wrote: Hi I would like to render some fonts into images,

[PHP] Render fonts

2007-08-19 Thread Emil Edeholt
Hi I would like to render some fonts into images, for captions on a site. What tools should I use to get the best looking render? Do you guys use the built-in tools PHP has, or are there third party libraries that does a better job? Thanks! Kind regards Emil -- PHP General Mailing List (ht

Re: [PHP] getting from one table listing from another

2007-08-19 Thread Larry Garfield
On Sunday 19 August 2007, tedd wrote: > >Not crazy, pretty standard from a database point of view; > > > >SELECT a.name, b.points > >FROM table a LEFT OUTER JOIN table b > >ON(a.name = b.name) > > > >This only works if the name in table a matches a name in table b. > > Then why use a JOIN? It's my

RE: [PHP] getting from one table listing from another

2007-08-19 Thread Jay Blanchard
[snip] At 6:12 PM -0500 8/18/07, Jay Blanchard wrote: >[snip] >I know this is kinda crazy but I need it :P >I have one table that lists name's >and I have another table that has the name's and points >I want to know how to list the name's of the first table by the points >of the second table >[/sni

Re: [PHP] getting from one table listing from another

2007-08-19 Thread Stut
tedd wrote: At 6:12 PM -0500 8/18/07, Jay Blanchard wrote: [snip] I know this is kinda crazy but I need it :P I have one table that lists name's and I have another table that has the name's and points I want to know how to list the name's of the first table by the points of the second table [/sn

RE: [PHP] getting from one table listing from another

2007-08-19 Thread tedd
At 6:12 PM -0500 8/18/07, Jay Blanchard wrote: [snip] I know this is kinda crazy but I need it :P I have one table that lists name's and I have another table that has the name's and points I want to know how to list the name's of the first table by the points of the second table [/snip] Not craz

Re: [PHP] Redirection with header (was Re: [PHP] Cookies and sent headers)

2007-08-19 Thread tedd
At 8:52 AM +0200 8/19/07, Otto Wyss wrote: In my case I could easilly do without redirection but just exit and fall back on the calling page. Yet I want to remove the login page from the browser history. Does the header function have the same effect? O. Wyss: Instead of messing with the us

Re: [PHP] Cookies and sent headers

2007-08-19 Thread Nisse Engström
On Sat, 18 Aug 2007 17:03:35 +0200, "M. Sokolewicz" wrote: > The reason why setting cookies for you doesn't work is because of the > way a HTTP response is structured. It consists of 2 parts: header and > body separated by 2 new lines (\n\n). It is _required_ that _all_ > headers come _before_

RE: [PHP] Re: www.soongy.com

2007-08-19 Thread Gevorg Harutyunyan
Hi, Sorry for late response. The main idea is in sending text messages using email, SMS, our messaging service. Also you can hold some web notes there. I agree it is not good for now. This is just start of this project. I am trying to do one step to WEB2 world. You can look http://www.netvibes.co