[PHP] Re: Removing Items from an Array

2005-10-12 Thread cc
could Alan give samples about the input and expected output of the black box? then we can consider implement it. On 10/13/05, Alan Lord <[EMAIL PROTECTED]> wrote: > Thanks for the replies gents. > > I have cludged together something from your solutions but it isn't yet > working. I've been staring

Re: [PHP] Problem with Javascript:...submit()

2005-10-12 Thread Minuk Choi
I'm just taking a wild guess... but I'm guessing that if you set a name with spaces, it'll be replaced with "_"(underscore). A couple of ways around this is to 1) figure out a way to assign a one-word name for all your books(e.g. Code, ID number, etc.) 2) generate a hash code(e.g. md5($

[PHP] Re: ampersand in dom with utf-8

2005-10-12 Thread cc
both `è' and `î' are not entities in charset utf-8, use `è' and `î' instead. On 10/13/05, jonathan <[EMAIL PROTECTED]> wrote: > I'm now getting this error: > > XML Parsing Error: undefined entity > > with the following entity at the first ampersand: > farm lettuces with reed avocado,

Re: [PHP] Problem with Javascript:...submit()

2005-10-12 Thread Jasper Bryant-Greene
Johan Grobler wrote: while ($row = mysql_fetch_array($sql_result)) { echo" ".$row['LITERATURE_title']." - ".$row['res_fname']." ".$row['res_lname']." ... Everything works as long as $row['LITERATURE_title'] is one word, see this variable contains the names of books, and if the books name is "He

[PHP] Problem with Javascript:...submit()

2005-10-12 Thread Johan Grobler
while ($row = mysql_fetch_array($sql_result)) { echo" ".$row['LITERATURE_title']." - ".$row['res_fname']." ".$row['res_lname']." ... Everything works as long as $row['LITERATURE_title'] is one word, see this variable contains the names of books, and if the books name is "Heaven" for instance it

[PHP] Is DOM the right thing for the job?

2005-10-12 Thread Chris
Hey, I've got a set of classes which represent an HTML form. Right now the Elements return their string representation to the parent, which wraps those in the form tag and supplementary formatting HTML. This method works, but it creates an internal limit as to the design of the form. I'm hop

[PHP] Re: Small regex help?

2005-10-12 Thread Ethilien
Hmmm, "/SELECT .* FROM (.*) WHERE (.*) ORDER BY .*/Ui", "SELECT count(*) FROM \$1 WHERE \$2" Might work, but haven't tried it... Guy Brom wrote: Can anyone suggest the correct regex to replace col1,col2... with count(*) and strip out everything just before ORDER BY? so for this: SELECT col1,

Re: [PHP] Small regex help?

2005-10-12 Thread Philip Hallstrom
Can anyone suggest the correct regex to replace col1,col2... with count(*) and strip out everything just before ORDER BY? so for this: SELECT col1,col2... FROM tbl WHERE filter1 filter2 ORDER BY order1,order2 I would get this: SELECT count(*) FROM tbl WHERE filter1 filter2 $str = "SELECT col1,

Re: [PHP] Template Security Advice (WASP - http://wasp.sourceforge.net)

2005-10-12 Thread Tom Rogers
Hi, Tuesday, October 11, 2005, 3:37:13 PM, you wrote: BF> I'm finishing up my WASP framework 1.0 release (http:// BF> wasp.sourceforge.net) and I'm trying to decide the best way to lay BF> out the template directories. BF> WASP uses HTML_Template_Flexy for its template system. The templates BF>

Re: [PHP] Trouble moving directory

2005-10-12 Thread -k.
--- Jasper Bryant-Greene <[EMAIL PROTECTED]> wrote: > $source_dir = escapeshellarg( '/some/dir/Dir That Won't Move/' ); Unfortunately escapeshellarg doesn't work for all cases, it will escape the " ' " in that example but it doesn't escape other characters such as " ) ". So... $source_dir = esc

[PHP] Small regex help?

2005-10-12 Thread Guy Brom
Can anyone suggest the correct regex to replace col1,col2... with count(*) and strip out everything just before ORDER BY? so for this: SELECT col1,col2... FROM tbl WHERE filter1 filter2 ORDER BY order1,order2 I would get this: SELECT count(*) FROM tbl WHERE filter1 filter2 Thanks! -- PHP Gener

Re: [PHP] storing passwords in $_SESSION

2005-10-12 Thread Dan Brow
On Tue, 2005-10-11 at 00:25 +0200, Oliver Grätz wrote: > Dan Brow schrieb: > > Thanks, figured that would be the case. Can't for life of me think why I > > wanted to do that, must have had a brain infarction. I want to have an > > expired session prompt so people can log back in with out having to

Re: [PHP] Any good free easy converting tool?

2005-10-12 Thread Guy Brom
Why don't you just import from Access to CSV and use LOAD DATA query on MySQL? ""Gustav Wiberg"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > - Original Message - > From: "Joe Harman" <[EMAIL PROTECTED]> > To: > Cc: "Gustav Wiberg" <[EMAIL PROTECTED]> > Sent: Wednesd

Re: [PHP] Trouble moving directory

2005-10-12 Thread Jasper Bryant-Greene
-k. wrote: I'm having trouble moving some directories. My script works fine on some directories but doesn't move others. It seems to have trouble with directories with non alphanumeric charters. I'm running Red Hat FC2. I'm trying to move the directory basically like this... $source_dir = e

Re: [PHP] outputting xml with DOM and ampersands

2005-10-12 Thread Stephen Leaf
On Wednesday 12 October 2005 12:40 pm, jonathan wrote: > I am trying to output a file using DOM with php5. > > It gives me an error with something like the following: > farm lettuces with reed avocado, crème > fraîche, radish and cilantro Are you doing a: DOMDocument::loadXML('farm lettuces with

[PHP] Trouble moving directory

2005-10-12 Thread -k.
I'm having trouble moving some directories. My script works fine on some directories but doesn't move others. It seems to have trouble with directories with non alphanumeric charters. I'm running Red Hat FC2. I'm trying to move the directory basically like this... Is there some way to escape t

Re: [PHP] Obsession with BC, take 2

2005-10-12 Thread Oliver Grätz
Robert Cummings schrieb: > You can use separate engines. The topic has been addresses many times > already. Set up a second instance of apache and use the ProxyPass system > to pass control from the primary apache server to a PHP5 enabled apache > server. I always thought this complexity is why pe

Re: [PHP] Obsession with BC, take 2

2005-10-12 Thread GamblerZG
Robert Cummings wrote: On Wed, 2005-10-12 at 17:31, GamblerZG wrote: Since nobody ansvered the real question my previous message, I will re-phrase it. PHP developers assume that PHP5 will be frequently used to parse PHP4 scripts. Why? And what's so horrible about using separate engines to ru

[PHP] Re: Store a variable name in a database field.

2005-10-12 Thread cc
Most likely you are using some template system that require using of {{whatever}} as template varibles. if you want to change {{whatever}} to something else, maybe you should configure your template processing as well, just let it not to find {{whatever}} but the pattern you prefered, and also re

[PHP] Re: How can I connect a remote server from phpmyadmin?

2005-10-12 Thread Ben
Ethilien said the following on 10/12/05 15:55: You need to edit the config.inc.php file in the phpmyadmin directory and set the appropriate server address/username/password information for your remote server. You might have to set a remote server up in cpanel for this to work however. And of

[PHP] Re: Hidden Form Help

2005-10-12 Thread Ethilien
To answer your questions: 1) No, there is no way to make data show up in both fields because the script you are currently using is probably echoing the data directly into a value attribute of the elements themselves. Also, by making two different elements in the same form have the same name, a

[PHP] Re: How can I connect a remote server from phpmyadmin?

2005-10-12 Thread Ethilien
You need to edit the config.inc.php file in the phpmyadmin directory and set the appropriate server address/username/password information for your remote server. You might have to set a remote server up in cpanel for this to work however. MI SOOK LEE wrote: Hello, I have PhpMyAdmin 2.6.3 , M

[PHP] Re: array_slice and for loop problem

2005-10-12 Thread Ethilien
Are you trying to put each return from array_slice into $output as an array? You need to replace $output = array_slice... with $output[] = array_slice... Also, you cannot just echo an array (even of characters). It must be a string, or else echo will only produce the output 'Array'. Hope thi

[PHP] How can I connect a remote server from phpmyadmin?

2005-10-12 Thread MI SOOK LEE
Hello, I have PhpMyAdmin 2.6.3 , MySQL 4.1.13 running in my Windows 2000. I installed them using Apache friends XAMPP, so I didn¡¯t do any configuration myself. Currently if I go to http://127.0.0.1/phpmyadmin, then it automatically shows my local MySQL db and tables. Now I need to connect remo

[PHP] Re: Run a php script as a separate thread/process

2005-10-12 Thread cc
Tommy, r u serious? this ain't what you called 'thread or process', just something like an user agent, like any web browser. On 10/12/05, Tommy Jensehaugen <[EMAIL PROTECTED]> wrote: > Thank you very much. This is what I ended up with if anyone needs it: > > function runSeparateThread($strHost, $

Re: [PHP] actually the è not the ampersand

2005-10-12 Thread jonathan
do you then have to do the reverse operation to get it back for rendering. Since it was erroring on me during DOM creation, I feel like I'm going around it to put it into a format it likes but then on display via XSL transformation, I will have to convert it back. Or am I missing something?

Re: [PHP] Obsession with BC, take 2

2005-10-12 Thread Robert Cummings
On Wed, 2005-10-12 at 17:31, GamblerZG wrote: > Since nobody ansvered the real question my previous message, I will > re-phrase it. > > PHP developers assume that PHP5 will be frequently used to parse PHP4 > scripts. Why? And what's so horrible about using separate engines to run > php 4 and 5

[PHP] Obsession with BC, take 2

2005-10-12 Thread GamblerZG
Since nobody ansvered the real question my previous message, I will re-phrase it. PHP developers assume that PHP5 will be frequently used to parse PHP4 scripts. Why? And what's so horrible about using separate engines to run php 4 and 5 scripts? -- PHP General Mailing List (http://www.php.ne

[PHP] Re: include file to global scope

2005-10-12 Thread cc
yes, its possible, consider this: /** * @param $file_to_include path to php file you want to get its content * @return included contents */ function get_output($file_to_include){ ob_start(); include $file_to_include; return ob_get_clean(); } of course, you may extend this function to bet

[PHP] Re: Userlogin system seems to override the if statement....

2005-10-12 Thread cc
did u give proper username and password to login with? On 10/12/05, twistednetadmin <[EMAIL PROTECTED]> wrote: > I'm new to this. So I used a tutorial to write this. But it shows "Login > ok. > Welcome" at once when the page loads. Here is the tutorial: > http://www.ss32.x10hosting.com/ss32/files/

Re: [PHP] actually the è not the ampersand

2005-10-12 Thread John Nichel
jonathan wrote: so, the problem isn't the ampersand but rather the è in the following: farm lettuces with reed avocado, crème fraîche, radish and cilantro I'm not sure how php / DOM handles these non-standard other entities. How would / could I escape this? do I need to convert it to somet

[PHP] pecl hosting is in a pickel...

2005-10-12 Thread Steve Kiehl
Has anyone noticed/experienced the fact that the pecl site is spotty today? I think I was able to download one module all day in and out of db connect errors. I really need to get a module off of there. Is there some loop I can jump through to get it? Thanks, - Steve -- PHP General Mail

[PHP] array_slice and for loop problem

2005-10-12 Thread Rodney Green
Hello, I'm using a for loop to iterate through an array and slice parts of the array and add into another array. When array_slice is called the variable $i is not being substituted with the current value of $i and the $output array is empty after running the script. Can someone look at the code b

[PHP] actually the è not the ampersand

2005-10-12 Thread jonathan
so, the problem isn't the ampersand but rather the è in the following: farm lettuces with reed avocado, crème fraîche, radish and cilantro I'm not sure how php / DOM handles these non-standard other entities. How would / could I escape this? do I need to convert it to something else to ma

Re: [PHP] onChange js running a php function

2005-10-12 Thread Richard Lynch
On Tue, October 11, 2005 3:11 pm, Dan McCullough wrote: > Its been awhile since I tried this so I was wondering if anyone had > any luck with this. > > I need to get a list of tables from a database, which means I have to > run a function, I would like to have an onChange event run when I > change

Re: [PHP] Obsession with BC

2005-10-12 Thread Richard Lynch
On Tue, October 11, 2005 11:41 am, GamblerZG wrote: > Recently, I asked my hosting provider when they are going to switch to > PHP5. They replied that it will not happen any time soon, since they > will install PHP5 only on new servers. Their reasoning was simple: So ask them to move your account

[PHP] ampersand in dom with utf-8

2005-10-12 Thread jonathan
I'm now getting this error: XML Parsing Error: undefined entity with the following entity at the first ampersand: farm lettuces with reed avocado, crème fraîche, radish and cilantro Why is an ampersand considered an undefined entity? The xml version is: Any thoughts please? -jonathan

[PHP] Possible bug with imagettftext and imageft text when imagealphablending is false

2005-10-12 Thread Ethilien
I have been attempting to write a dynamic text replacement script that would generate transparent PNGs using gd, and it works fine except when one of the characters in a font has parts of it that overhang into the previous characters. You can see what I mean in this test script: The result c

RE: [PHP] Removing Items from an Array

2005-10-12 Thread Alan Lord
Thanks for the replies gents. I have cludged together something from your solutions but it isn't yet working. I've been staring at multi-dim arrays all day and am getting tired, so I'll carry on tomorrow. Thanks again, Alan > -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTEC

Re: [PHP] Any good free easy converting tool?

2005-10-12 Thread Gustav Wiberg
- Original Message - From: "Joe Harman" <[EMAIL PROTECTED]> To: Cc: "Gustav Wiberg" <[EMAIL PROTECTED]> Sent: Wednesday, October 12, 2005 9:00 PM Subject: Re: [PHP] Any good free easy converting tool? On 10/12/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote: Hi there! Someone know of a

Re: [PHP] Any good free easy converting tool?

2005-10-12 Thread Gustav Wiberg
Hi there! I need to do a one time convert from an Access-databasetable to an MySQL-database-table. Is the MyODBC the only way? /G - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Gustav Wiberg'" <[EMAIL PROTECTED]> Sent: Wednesday, October 12, 2005 8:56 PM Subje

Re: [PHP] Any good free easy converting tool?

2005-10-12 Thread Joe Harman
On 10/12/05, Gustav Wiberg <[EMAIL PROTECTED]> wrote: > Hi there! > > Someone know of any good free tool for converting from Access to Mysql. I > just need to import certain tables into an already existance database. > > /G > http://www.varupiraten.se/ > > -- > PHP General Mailing List (http://www.

[PHP] Any good free easy converting tool?

2005-10-12 Thread Gustav Wiberg
Hi there! Someone know of any good free tool for converting from Access to Mysql. I just need to import certain tables into an already existance database. /G http://www.varupiraten.se/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing Items from an Array

2005-10-12 Thread Jochem Maas
Id like to continue where TG left off ... hth. [EMAIL PROTECTED] wrote: If I understand what you're asking, then maybe this will help: $arrset1 = array("Apples" => 3, "Oranges" => 5, "Apricots" => 1); $arrset2 = array("Couches" => 6, "Chairs" => 2, "Benches" => 5); $alldataarr["Fruits"] = $ar

[PHP] outputting xml with DOM and ampersands

2005-10-12 Thread jonathan
I am trying to output a file using DOM with php5. It gives me an error with something like the following: farm lettuces with reed avocado, crème fraîche, radish and cilantro It does have the encoding set to utf-8. When I switch it to utf-16, it gives me an error on the $dom->saveXML(); An

[PHP] Optimize PDF on upload?

2005-10-12 Thread Bosky, Dave
Any PHP modules available that will optimize PDF files on upload? Thanks, D ** HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of th

Re: [PHP] ICQ

2005-10-12 Thread John Hinton
Al Hafoudh wrote: is it possible to connect to icq, send messages and etc? thanx I looked all over that place for such a function some time back. I did find several, but all were very old. The problem was they were all based on the ICQ account number. Thinking about allowing such through the

Re: [PHP] Removing Items from an Array

2005-10-12 Thread tg-php
If I understand what you're asking, then maybe this will help: $arrset1 = array("Apples" => 3, "Oranges" => 5, "Apricots" => 1); $arrset2 = array("Couches" => 6, "Chairs" => 2, "Benches" => 5); $alldataarr["Fruits"] = $arrset1; $alldataarr["Furniture"] = $arrset2; Say we want to remove "Chairs",

Re: [PHP] Removing Items from an Array

2005-10-12 Thread Paul Waring
On Wed, Oct 12, 2005 at 05:24:11PM +0100, Alan Lord wrote: > I'm really struggling here! I have a large, multi-dimensional array that > I want to "clean-up" a bit before committing to a database. How big an array? You could just go create another array of the same structure and copy the values acr

[PHP] SOAP WSDL location

2005-10-12 Thread Marcus Bointon
This is a minor thing that's been troubling me, making it difficult to deploy a salesforce.com SOAP client across multiple projects. Salesforce is a particular interest because its WSDL files are NOT available directly online - you have to download and save local copies manually. When con

[PHP] Removing Items from an Array

2005-10-12 Thread Alan Lord
Hi all, I'm really struggling here! I have a large, multi-dimensional array that I want to "clean-up" a bit before committing to a database. I want to remove quite a bit of the array but using the KEYs not the values. I know the keys I want to keep and I know the keys I want to get rid of. I want

RE: [PHP] pear.php.net

2005-10-12 Thread Alex Moen
Problem solved... The webserver on pear.php.net is working again. Thanks to whoever fixed it! Alex Moen Operations Technology Specialist NDTC > -Original Message- > From: Alex Moen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 12, 2005 10:09 AM > To: 'Jochem Maas' > Cc: php-gene

RE: [PHP] pear.php.net

2005-10-12 Thread Alex Moen
> -Original Message- > From: Jochem Maas [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 12, 2005 10:03 AM > To: Jay Blanchard > Cc: 'Alex Moen'; php-general@lists.php.net > Subject: Re: [PHP] pear.php.net > > > Jay Blanchard wrote: > > [snip] > > I know this was asked already, but

Re: [PHP] pear.php.net

2005-10-12 Thread Jochem Maas
Jay Blanchard wrote: [snip] I know this was asked already, but I am going to ask once more... Is pear.php.net online? Here's why I ask: pear list-upgrades XML_RPC_Client: Connection to RPC server pear.php.net:80 failed. Connection refused Also, browsing to pear.php.net results in a page cannot

Re: [PHP] include file to global scope

2005-10-12 Thread Jochem Maas
Claudio wrote: Is it possible to process the file in second php instance? An only get its output? yes - but its heavy to do (which ever way you do it). basically you need to either call a commandline php script via exec() (or something similar) e.g. exec('php /path/2/your/script.php'); // rea

RE: [PHP] pear.php.net

2005-10-12 Thread Jay Blanchard
[snip] I know this was asked already, but I am going to ask once more... Is pear.php.net online? Here's why I ask: pear list-upgrades XML_RPC_Client: Connection to RPC server pear.php.net:80 failed. Connection refused Also, browsing to pear.php.net results in a page cannot be displayed error. [/

[PHP] pear.php.net

2005-10-12 Thread Alex Moen
I know this was asked already, but I am going to ask once more... Is pear.php.net online? Here's why I ask: pear list-upgrades XML_RPC_Client: Connection to RPC server pear.php.net:80 failed. Connection refused Also, browsing to pear.php.net results in a page cannot be displayed error. Thanks!

Re: [PHP] include file to global scope

2005-10-12 Thread Claudio
Is it possible to process the file in second php instance? An only get its output? Claudio -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Issues with backslashes and GET data

2005-10-12 Thread Chris Shiflett
Martin Selway wrote: A servername may contain a backslash e.g. Server1\SQL1. When this data is returned from the URL e.g. $server = $_GET['server']; The name is returned as Server1\\SQL1, so the search fails. Sounds like magic_quotes_gpc is enabled. Disable it. I've tried using a regular expr

[PHP] Re: Userlogin system seems to override the if statement....

2005-10-12 Thread Mark Rees
- sorry my mail reader didn't indent. comments in -- I'm new to this. So I used a tutorial to write this. But it shows "Login ok. Welcome" at once when the page loads. Here is the tutorial: http://www.ss32.x10

Re: [PHP] getting php to generate a 503

2005-10-12 Thread Chris Shiflett
[EMAIL PROTECTED] wrote: I want to write a php page that can return a 503 with some useful information. ?> Is what I've done so far - yet it doesn't work You need to elaborate or define what "works" means to you, because my first assumption is that it works just fine. What behavior ar

[PHP] Report generators

2005-10-12 Thread Anakreon Mendis
I was looking for a report generator library and found a good one called agata. What I need (and the library does not provide) is the ability to export the generated report in doc and excel format. The library does exports the reports in openoffice Write format but this would require to post-proces

[PHP] Re: pear.php.net

2005-10-12 Thread David Robley
Claudio wrote: > is http://pear.php.net offline? > > > Warning: Invalid argument supplied for foreach() in > /usr/local/www/pearweb/include/pear-format-html.php on line 360 > > Warning: Invalid argument supplied for foreach() in > /usr/local/www/pearweb/include/pear-format-html.php on line 360

[PHP] pear.php.net

2005-10-12 Thread Claudio
is http://pear.php.net offline? Warning: Invalid argument supplied for foreach() in /usr/local/www/pearweb/include/pear-format-html.php on line 360 Warning: Invalid argument supplied for foreach() in /usr/local/www/pearweb/include/pear-format-html.php on line 360 Warning: Invalid argument sup

Re: [PHP] include file to global scope

2005-10-12 Thread Claudio
> first off I would recommend that you 'pollute' your global scope as > little as possible. I agree at all! Thats my opinion, and i don't use global variables at all. The problem is, other people do. And if I need to use their code I must include it. > that said the solution will probably involv

Re: [PHP] Issues with backslashes and GET data

2005-10-12 Thread Brent Baisley
Have you tried the stripslashes() function? That will "unescape" characters that have been escaped. On Oct 12, 2005, at 8:03 AM, Martin Selway wrote: I use a php page which is supposed to return records from a database table limited to the servername specicified in a drop down menu. A ser

[PHP] Issues with backslashes and GET data

2005-10-12 Thread Martin Selway
I use a php page which is supposed to return records from a database table limited to the servername specicified in a drop down menu. A servername may contain a backslash e.g. Server1\SQL1. When this data is returned from the URL e.g. $server = $_GET['server']; The name is returned as Server1\\SQ

[PHP] Userlogin system seems to override the if statement....

2005-10-12 Thread twistednetadmin
I'm new to this. So I used a tutorial to write this. But it shows "Login ok. Welcome" at once when the page loads. Here is the tutorial: http://www.ss32.x10hosting.com/ss32/files/PHP-logins.pdf There was an error processing your login. Login as: Password: Login ok. Welcome ";

[PHP] Hidden Form Help

2005-10-12 Thread Alnisa Allgood
Hi- I'm in a situation where I'm required to deal with a hidden form. The background details are exhausting, but the gist is: one form is auto-generated and lacks proper formatting. It was part of an open source package that DID NOT allow templating. So to keep using the application engine, but pr

[PHP] Re: Run a php script as a separate thread/process

2005-10-12 Thread Tommy Jensehaugen
Thank you very much. This is what I ended up with if anyone needs it: -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Check if an url is a jpg image

2005-10-12 Thread Richard Davey
Hi Tommy, Wednesday, October 12, 2005, 10:48:55 AM, you wrote: > Is it possible to check if an url is a jpg image from php? #1 Quick and unreliable: Check if there is a .jpg or .jpeg as the final characters of the URL string. #2 Bit more complex, very expensive: fopen() the URL, download the co

[PHP] Check if an url is a jpg image

2005-10-12 Thread Tommy Jensehaugen
Hi, Is it possible to check if an url is a jpg image from php? Thank you for your help. Cheers, Tommy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include file to global scope

2005-10-12 Thread Jochem Maas
Claudio wrote: Hi, I'm using PHP 5. I have a class operation that includes php files. Is there a way to include this files to global scope? So that difined vars and functions are global accesseble? first off I would recommend that you 'pollute' your global scope as little as possible. seco

[PHP] include file to global scope

2005-10-12 Thread Claudio
Hi, I'm using PHP 5. I have a class operation that includes php files. Is there a way to include this files to global scope? So that difined vars and functions are global accesseble? I saw that some PHP functions have a context parameter, is something like this in "eval" or "include" possible?

Re: [PHP] help me in creating tables on the fly

2005-10-12 Thread Jasper Bryant-Greene
Suresh Pandian wrote: im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. can anyone know how to create tables on the fly .plz t

Re: [PHP] help me in creating tables on the fly

2005-10-12 Thread Jochem Maas
Suresh Pandian wrote: hello friends, im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. ... if I upl

[PHP] help me in creating tables on the fly

2005-10-12 Thread Suresh Pandian
hello friends, im currently working on creating musical forum. i need to create tables for every song uploaded on the fly to save the comments and rates entered by the viewers. im unable to create tables on the fly. can anyone know how to create tables on the fly .plz tell me