Re: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-19 Thread tamouse mailing lists
           $sText = "‘".substr($sText, 1); >>                                $bOpenQuote = TRUE; >>                        } else { >>                                if (in_array($arrText[$pos-1], $arrAlpha) >>  AND   in_array($arrText[$pos+1], $arrAlpha)) { >>            

Re: [PHP] Parse errors

2012-03-19 Thread tamouse mailing lists
halted. > > Simon, > > Thanks for that. Looks like I should be able to catch most places where an > error might occur. I tend to do a syntax check with php -l on the command line after editing to see whatever errors might occur before I run the code on the web site. -- PHP G

Re: [PHP] questions about $_SERVER

2012-03-19 Thread tamouse mailing lists
On Sat, Mar 10, 2012 at 7:43 PM, Tedd Sperling wrote: > On Mar 10, 2012, at 3:53 PM, tamouse mailing lists wrote: >> On Sat, Mar 10, 2012 at 9:37 AM, Tedd Sperling >> wrote: >>> That's correct, but to access those variables outside of their scope (such &g

Re: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-20 Thread tamouse mailing lists
On Mon, Mar 19, 2012 at 10:43 AM, Arno Kuhl wrote: > -Original Message- > From: tamouse mailing lists [mailto:tamouse.li...@gmail.com] > Sent: 19 March 2012 10:28 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Getting knotted with quotes encoding - (one possi

Re: [PHP] Thinking out loud - a continuation...

2012-03-24 Thread tamouse mailing lists
$i <= 14; $i++ ) >>            { >>                $name = $row['tier'.$i]; >> >>                if( !isset( $focus[$name] ) ) >>                { >>                    $focus[$name] = array(); >>                } >> >>                $focus = &$focus[$name]; >>

Re: [PHP] Mime Mail problem

2012-03-28 Thread tamouse mailing lists
if I got the headers >>> themselves correct? >>> >>> btw sorry for calling you Faith before, I misread your name, Fatih >>> >>> Alexis >> >> >> >> I guess it is better to see your code. that creates the headers and body >> parts t

Re: [PHP] Re: Uploading and creating an email attachment, WITHOUT aDB on server

2012-03-28 Thread tamouse mailing lists
ample > I can imagine people would want to use extensions such as .doc, .docx, but > also .pdf. If you only allow those, you'll make life hard on people wanting > to post a .txt or .rtf! Especially those of us who keep our resumes in YAML. -- PHP General Mailing List (http://www.p

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-28 Thread tamouse mailing lists
etting envars, testing the hostname, keeping a separate configuration file outside of the source control tree, etc) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: updating code asap to multiple domains, windows to unix, with source control software (was: Re: [PHP] including PHP code from another server..)

2012-03-28 Thread tamouse mailing lists
u keep your repositories for any open source work on a public repository, it's advertising for your work and a simple off-site backup plan. With shell access, you can also create your own private repositories on one of your host accounts. Anyway, this has drifted far in to the topics of managing and deploying code, not so much PHP. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
> } > > function printAB() { > echo $this-­‐>a.” “.$this-­‐>b.”\n”; >  } > } > > $inst1 = new TestClass(3,50); > $inst2 = new TestClass(); > $inst1-­‐>printAB(); > $inst2-­‐>printAB(); > ?> It'd be great if you provided the output you are getting. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists wrote: > On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh wrote: >> Hi Guys, >> >> Given below is a PHP script. Can someone help me with the output of the >> code. According to my understanding the output should be 3,

[PHP] Re: [PHP-DB] Flow of PHP testClass

2012-03-29 Thread tamouse mailing lists
On Thu, Mar 29, 2012 at 1:30 PM, tamouse mailing lists wrote: > On Thu, Mar 29, 2012 at 1:17 PM, tamouse mailing lists > wrote: >> On Thu, Mar 29, 2012 at 9:57 AM, Rikin Parekh wrote: >>> Hi Guys, >>> >>> Given below is a PHP script. Can someone

Re: [PHP] DateTime wierdness

2012-03-29 Thread tamouse mailing lists
rDate[2])) >      $nacimiento = ''; > > Just need to set the variable $nacimiento to the empty string if it's > not a valid date. > > Thanks anyway, > > > -- > Martín Marqués > select 'martin.marques' || '@' || 'gmail.com' &g

Re: [PHP] Watch out for automatic type casting

2012-03-29 Thread tamouse mailing lists
her simpletons like me. > > This is not due to typecasting, it's due to operator precedence. > > In PHP (and many other languages) the !== comparison operator will get done > first, so the result of that comparison will be assigned to $pos. By > introducing the brackets you&#

Re: [PHP] securing a script that exec()s

2012-03-30 Thread tamouse mailing lists
gt;> $_SERVER['SERVER_ADDR'] is my internal IP. >> >> How would I best fix this? >> I, too, would suggest you use the PHP extensions rather than shell out a command for various reasons, security being possibly the highest. There is also the cost of another process on the box, and doing the translation in and out. And David, please bottom post responses. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] securing a script that exec()s

2012-03-31 Thread tamouse mailing lists
ith it that way. When you've gone to all that, you're almost all the way to where you need to be to use the library functions. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] whats wrong

2012-03-31 Thread tamouse mailing lists
p That solves your syntax errors. Now you can test it from a server. Before you do that though, a few other points: When developing code, it's a really good idea to turn on run time error checking so you can see things in the browser when a problem crops up: " since you're using XHTML. Line 39 needs to have the data base resource as well that was set above in the connect: mysql_close($db); You owe me one internet bheer for debugging your script. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] whats wrong

2012-04-01 Thread tamouse mailing lists
On Sat, Mar 31, 2012 at 6:36 AM, Maciek Sokolewicz wrote: > On 31-03-2012 10:29, tamouse mailing lists wrote: >> >> On Sat, Mar 31, 2012 at 1:45 AM, saeed ahmed >>  wrote: >>> >>> i have made a php script with a tutorial helpi dont know where is a >&

Re: [PHP] PHP ISSUE!!!

2012-04-01 Thread tamouse mailing lists
> > >  <mailto:karlja...@tampabay.rr.com> Karl James > > > I'm on now. This doesn't sound much like a php issue, per se. You might be able to find someone on #mysql on irc.freenode.net to walk you through what's going wrong in real time. if you don't have an irc client handy, you can use the web chat client at http://webchat.freenode.net or http://chat.mibbit.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable representation

2012-04-01 Thread tamouse mailing lists
.info/store-images/";; eval ('echo "$image_" . $i;'); echo "\" title=\"Image " . $i . "\">Image " . $i . "\r\n"; so that the eval portion is doing only what needs to be interpolated and evaled. The rest of the output is fine the way it is. Note that if you did this: echo "http://www.theverseoftheday.info/store-images/"; . eval('echo "$image_" . $i;') . "\" title=\"Image " . $i . "\">Image " . $i . "\r\n"; the part in the eval would get written out first, then the rest of the echoed string, which is why you would need to split them up first. Generally, I think it's best to completely avoid using eval unless there is no other way to do what you want. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable representation

2012-04-01 Thread tamouse mailing lists
Ugh, gmail mangled the code there. Here's a pastebin of the response which is better formatted: http://pastie.org/3712761 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variable representation

2012-04-01 Thread tamouse mailing lists
On Mon, Apr 2, 2012 at 12:20 AM, tamouse mailing lists wrote: > Ugh, gmail mangled the code there. Here's a pastebin of the response > which is better formatted: http://pastie.org/3712761 Sweet. I spent so long on my reply, two others snuck in before me. :) -- PHP General Mailing

Re: [PHP] Variable representation

2012-04-02 Thread tamouse mailing lists
BALS['image_'.$i]; > > Both are preferable by far over using eval, with all its potential security > concerns. Oh, man, this is a great list. I didn't even *think* about doing it that way. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] learning resources for PHP

2012-04-05 Thread tamouse mailing lists
re basic php / database >> interaction (mysql mainly).. then how to accelerate php interraction >> through memcache.. and eventually one I have all that down onto using >> some of the NoSQLs (mongo/cassandra/membase, etc). >> >> Thanks! >> >> -- >>

Re: [PHP] foreach

2012-04-06 Thread tamouse mailing lists
that is reported and it's not obviously a typo or spelling error, the problem is not necessarily at the line itself, but above someplace in the code. > Advice and help, please. My general advice is to pay closer attention to what you're quoting and how you're quoting it, and th

Re: [PHP] image inventoryer

2012-04-06 Thread tamouse mailing lists
P. The people here are not going to hold your hand and feed you spoonfuls of PHP knowledge. Read first. Ask smart questions. There are BOATLOADS of tutorials on PHP on the net, just a google away. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] image inventoryer

2012-04-07 Thread tamouse mailing lists
links to display on the inventory page. NOW I have the tool i > needed; can someone else put this to good work? Well, congrats on a first somewhat useful program. All I have to say now is: you have a long way to go. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Watch out for automatic type casting

2012-04-07 Thread tamouse mailing lists
nglist-noise. > > - Tul plus, you top-posted -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Marketplace Framework

2007-05-20 Thread PHP Mailing List
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Marketplace Framework

2007-05-20 Thread PHP Mailing List
Hi All, Is there any PHP's framework for developing a marketplace site ? Regards, Dino -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySQL Connection in Session ?

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

[PHP] Persistent MySQL Connection

2007-06-11 Thread PHP Mailing List
Can I maintain just one mysql connection resource to all my pages per user session. As far as I knows create connection is more expensive than executing queries ? Any reference how to make efficient for connection resources ? Thanks, Dino -- PHP General Mailing List (http://www.php.net/) To

[PHP] Persistent MySQL Connection

2007-06-13 Thread PHP Mailing List
General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML problems?

2001-02-09 Thread Mailing List Mailbox
the name of the dom variable. i checked and no where i can see does it rewrite that variable. i am using an object for the parsing xml_object() or whatever it's called sets it.. i was wondering if there might be a bug in PHP or am I just doing something wrong? I can supply my source if you lik

[PHP] Evaluating form posts

2004-09-11 Thread PHP Mailing list account
ch backslash entered on the form and '\"' for every '"'. Could someone please tell me what's going on? Did I miss a part of the FAQ? (The form looks like ) Thank you in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Evaluating form posts

2004-09-13 Thread PHP Mailing list account
shiflett.org/ > > PHP Security - O'Reilly > Coming December 2004 > HTTP Developer's Handbook - Sams > http://httphandbook.org/ > PHP Community Site > http://phpcommunity.org/ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Using setters/getters with array of objects

2009-10-18 Thread Andy Shellam (Mailing Lists)
Hi, $u->emails[] = $e; I would hazard a guess because $u->emails isn't a concrete object (whereas $u->_emails is, but is private.) It's sort of a virtual reference - PHP has no way of knowing that $u->emails actually translates into _emails which is an array, if you see what I mean (

Re: [PHP] please help with regular expression in preg_replace

2009-10-29 Thread Andy Shellam (Mailing Lists)
$_SERVER ['HTTP_HOST'] ) in sed its working well with "s/[^.]*\.//" , but preg_replace behaves weird. http_host is for example hostname.domain.com return "domain.com", but return only "com" i think when this php page get many hits, its not so wise to c

Re: [PHP] is Aptana taking a crap on the face of PHP?

2009-11-15 Thread Andy Shellam (Mailing Lists)
oked at it - I'm just downloading it now to see if it will handle both PHP and C++. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php htaccess logins and logouts

2009-11-26 Thread Andy Shellam (Mailing Lists)
on the user's machine - if the user has the cookie, the correct authentication realm is returned in the authentication request. If the user doesn't have the cookie, the server sends a random realm to trick the browser into thinking it's not logged in. By the time you've done all t

Re: [PHP] Why does CURLOPT_FOLLOWLOCATION require open_basedir to be turned off?

2009-12-13 Thread Andy Shellam (Mailing Lists)
de or open_basedir and never had an issue, but I can see why hosting providers may enable it.) I can't see any conceivable benefit to this restriction when using open_basedir, as I thought that related to the local file system - unless CURL can use file:// URLs to access the local system?

Re: [PHP] Setting session variables from a MySQL field value.

2003-01-15 Thread Mark Heintz PHP Mailing Lists
t;while ($row = mysql_fetch_array($result)) >{ >$config_$row[config_id] = $row[config_value]; >session_register(config_$row[config_id]); >} > >mysql_free_result($result); >mysql_close($connection); > === > > Any pointers much appreciated. > > Stephen > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] file upload question

2003-01-24 Thread Mark Heintz PHP Mailing Lists
t's gone forever. > > > > Cheers! > > > > Mike > > > > - > > Mike Ford, Electronic Information Services Adviser, > > Learning Support Services, Learning & Information Services, > > JG125, James Graham Building, Leeds Me

Re: [PHP] mortgage calculator

2003-03-05 Thread Mark Heintz PHP Mailing Lists
cript somewhere, but I'm beginning to > think it is down. Some things seem so obvious that you just don't think you > need to bookmark! So why can't I remember... > > I would just prefer not reinventing the wheel. Suggestions would be greatly > appreciated. > > Ka

Re: [PHP] Uploading file problem

2003-03-06 Thread Mark Heintz PHP Mailing Lists
blem be? I'm stumped! > > I can include code or links if needed. > > Thanks, > Amanda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: global find and replace

2003-03-08 Thread Mark Heintz PHP Mailing Lists
colons in the C++ components > myself, > > I thought that would be the best, doing a strip, but I dont know C++ very > > well and I dont know the best way or any way to do that. > > > > Okay you have seen my four obviously briliant ideas, do you have one or do > > you have a way of doing this task easly and quickly. > > > > Please help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Easy Way.

2003-03-09 Thread Mark Heintz PHP Mailing Lists
{ > $i = "000".$i ; >} else if( ($i>99)&&($i<1000)) { > $i = "00".$i ; >} etc... > > Thanks :-) > > Vincent. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] html mail

2003-03-10 Thread Mark Heintz PHP Mailing Lists
t; I want to send an e-mail that contains html code, with > the option of attatching images and other files as > well as a text version of the email so that the viewer > can read the same e-mail whether or not he can view > html email or not. > > Any ideas? > > Ian Gray. -- PHP G

Re: [PHP] form submission and storing variables

2003-03-10 Thread Mark Heintz PHP Mailing Lists
gt; I do? > > any help would be greatly appreciated. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multi-select inputs and naming

2003-03-10 Thread Mark Heintz PHP Mailing Lists
rity... > I'm hoping there's some alternative technique I've missed... I guess you could use javascript to create/set individual hidden form fields for the items selected, but if the user has javascript disabled your form ceases to function. mh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is the problem a server setting?

2003-03-10 Thread Mark Heintz PHP Mailing Lists
. > > > > Here is the code that is failing: > > > > 12function Template ($template) > > 13 { > > 14 $this->template = $template; > > 15 $this->html = implode ("",(file($this->template))); > > 16 } > > > > What should I look for? > > thanks! > > > > Chad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] A question of time...

2003-03-10 Thread Mark Heintz PHP Mailing Lists
ll for zero hours, otherwise I would like to take comfort that I am not > ripping them off. It sounds very fair to me. My time would have been similar if not more (esp. not knowing the state of the existing code), and my hourly rate 2-3 times yours. mh. -- PHP General Mailing List (http://www

Re: [PHP] Multi-select inputs and naming

2003-03-10 Thread Mark Heintz PHP Mailing Lists
changing). To others on the list: how do perl, jsp, asp, etc. handle the passing of multiple selects? What is their equivalent of php's "var[]" syntax for handling form values? mh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question

2003-03-10 Thread Mark Heintz PHP Mailing Lists
> > /if > > I am just having a brain lapse today, can someone help me do this same > functionality in PHP? > > Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] form arrays not populating $_POST

2002-10-29 Thread Mark Heintz PHP Mailing Lists
che version). The only oddity is that the script utilizes phplib (some_var is registered as a phplib session var), but I'm performing the print_r before any phplib files are included. Has anyone ever encountered this problem? Thanks, mh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form arrays not populating $_POST

2002-10-29 Thread Mark Heintz PHP Mailing Lists
al Message - > From: "Mark Heintz PHP Mailing Lists" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 29, 2002 2:20 PM > Subject: [PHP] form arrays not populating $_POST > > > > I'm having a problem where $_POST is being popula

Re: [PHP] Comparing array elements

2002-06-05 Thread Mark Heintz PHP Mailing Lists
> server5 > > Now, I want to compare group1 against the server list, and do something like > the following: > In group: > server1 > server4 > server5 > > Not in group: > server2 > server3 > serverX -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP code in a database

2002-06-07 Thread Mark Heintz PHP Mailing Lists
> the database. > > Say it gets the data from the page in $data I want it to put the data on > the screen and if there's some PHP code in the $data variable I want it > to be executed. Is there a way I can do that? > > Jean-Rene Cormier -- PHP General Mailing Li

Re: [PHP] PHP (CLI) + CURL + SSL Problem...

2002-06-07 Thread Mark Heintz PHP Mailing Lists
talled both as a module, and as a CLI. When I use CURL > from inside the module, it works fine for all connections, including > SSL. When I use the CLI, I can't make SSL connections with CURL. It just > returns 'false'. Anyone know why? -- PHP General Mailing List (http:

Re: [PHP] POST Arrays with register globals..

2002-06-12 Thread Mark Heintz PHP Mailing Lists
2, Adam Plocher wrote: >   blah1 > &nbps; blah2 >   blah3 > > I can't seem to access that data correctly when that form gets submitted. > > I have tried: > > $groups[] = $_POST['groups[]']; > and > $groups[] = $_POST['groups']; > &

Re: [PHP] How to put a "new line" character with fputs($birthday_file,$content);

2002-06-23 Thread Mark Heintz PHP Mailing Lists
I am saving the result of a query on a text file. Then I want to open it > with excel. > > At the moment, when I open it with excel, all results appear in one very > long line. How could I insert a "new line" character at the end of each > record? > > Thanks > &

Re: [PHP] passing variable arguments from

2002-06-27 Thread Mark Heintz PHP Mailing Lists
e {$lang = "EngP=0";} > echo $lang ; > > But it always echoes EngP=1 no matter what I choose, what is wrong here?? if ($_POST['language'] == 1) You have an assignment operator instead of a comparison in your if statement. mh. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] fread over ftp

2001-02-21 Thread Mark Heintz PHP Mailing Lists
to be any consistancy in the failure... The same file may be loaded into the string on run one, and missing the next. The remote server is NT-based. Does anybody know what is going wrong here? I don't have to add any logic to "wait" for the fread to complete, do I? Thanks,

[PHP] fread via ftp to NT fails

2001-05-21 Thread Mark Heintz PHP Mailing Lists
Am I correct in interpreting this as the file is being sent immediately (after the fopen) rather than at the fread? Has anybody else encountered this? Thanks, mth -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Must results from MySQL fetches always be an Array??

2002-01-25 Thread Mark Heintz PHP Mailing Lists
ring.) If you're sure that mysql_fetch_array is always returning an array with a single element, you could use implode to convert the array to a string... $series = implode('', mysql_fetch_array(mysql_query( ... Check http://www.php.net/manual/en/function.implode.php for de

Re: [PHP] Re: Parsing file's

2002-05-31 Thread Mark Heintz PHP Mailing Lists
=> $value){ > > > print "$key|$value\r\n"; > > > } > > > > > > The format of the new file will be this: > > > 01-Customer information > > > 02-Other information > > > 03a Required Info (that can repeat up to 15 times per li

Re: [PHP] help with date formatting

2002-03-18 Thread Mark Heintz PHP Mailing Lists
> > -- > Ryan Spangler > 428 N Harmony Ln, Apt. 3 > Whitewater, WI 53190 > (262) 473-8392 > [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mark Heintz PHP Mailing Lists
gt; This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the postmaster at [EMAIL PROTECTED] > > > www.sothebys.com > ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Creating arrays using results from MySQL query

2002-03-18 Thread Mark Heintz PHP Mailing Lists
id'); session_register('emp_login_grp_id'); session_register('emp_login_role_id'); mh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] how to send a file to the user's browser?

2002-03-18 Thread Mark Heintz PHP Mailing Lists
download it automatically. >This file is created on a directory that is not the same as the web server where the >pages and php scripts are located. > > Anyone could help me with that? > > Thanks. > > regards, > > Carlos Fernando Scheidecker Antunes > Linux User

Re: [PHP] how to send a file to the user's browser?

2002-03-18 Thread Mark Heintz PHP Mailing Lists
On Mon, 18 Mar 2002, Mark Heintz PHP Mailing Lists wrote: > header ( "Content-Disposition: attachment; filename="$downloadfile" ); erg... typo... header ( "Content-Disposition: attachment; filename=$downloadfile" ); mh. -- PHP General Mailing List (http://

[PHP] testing

2008-03-25 Thread PHP General Users Mailing List
testing -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] com obj from php

2003-08-14 Thread PHPDiscuss - php Newsgroups and mailing lists
Hi all; Does anyone know if ti is possible or not to create a com object from php?? cheers :o) Steve. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Search For File

2003-11-18 Thread PHPDiscuss - PHP Newsgroups and mailing lists
e search should work. Thanks Jamie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP CONTRACT ROLE IN BERKSHIRE, UK

2004-01-20 Thread PHPDiscuss - PHP Newsgroups and mailing lists
accounting application which will sit on a web server linked to an oracle database. . -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP5 for Fedora Core 2

2004-07-27 Thread PHPDiscuss - PHP Newsgroups and mailing lists
C.F. Scheidecker Antunes wrote: > Hello all, > Are there any pre compiled rpm packages from Fedora Core 2 yet? > If not, I will most likely built it myself. > Thanks. Any chance you can send it to me when you finish? Thanks. -- PHP General Mailing List (http://www.php.net/) To

[PHP] Automatically run a php page once a day

2004-07-29 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Hello everybody, Can someone help me saying how i can run a php script automatically once in a day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] need help with $HTTP_RAW_POST_DATA

2004-08-05 Thread PHPDiscuss - PHP Newsgroups and mailing lists
ELP!! Thank you in advance Regards Mian -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Open all subdirectories in a directory

2004-08-14 Thread PHPDiscuss - PHP Newsgroups and mailing lists
windows server. Expecting your help, Jacob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Open all subdirectories in a directory

2004-08-14 Thread PHPDiscuss - PHP Newsgroups and mailing lists
windows server. Expecting your help, Jacob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Open all subdirectories in a directory

2004-08-14 Thread PHPDiscuss - PHP Newsgroups and mailing lists
windows server. Expecting your help, Jacob. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] code

2004-08-14 Thread PHPDiscuss - PHP Newsgroups and mailing lists
r($dh); } } } getfiles($dir); ?> Hope you can help me. Thanks. John Holmes wrote: > PHPDiscuss - PHP Newsgroups and mailing lists wrote: > > Hello Professionals, > > Can anybody help me to open all subdirectories in a directory, > > I used is_dir()

Re: [PHP] SOMETIMES, my SID gets embedded in the URL ???

2004-10-11 Thread PHPDiscuss - PHP Newsgroups and mailing lists
url ? The docs say that "relative URIs will be changed to contain the session id automatically". Also when I access the forums on my site (IPB), the sid isn't embedded. So my question is: if session.use_only_cookies is ON, why on earth is the sid present in the url ? PS: php is version

[PHP] SimpleXML: DOM, SAX or Other?

2004-10-15 Thread PHPDiscuss - PHP Newsgroups and mailing lists
as possible (avoiding DOM). Kieran -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SOMETIMES, my SID gets embedded in the URL ???

2004-10-07 Thread PHPDiscuss - PHP Newsgroups and mailing lists
]) session_destroy(); etc, etc; So there are days/times when the SID isn't embedded in the URL (and in the links of the page), and days/times when it is, regardless of what value $_SESSION["logged_in"] has. I tested the value returned by ini_set and it's always different from f

Re: [PHP] SOMETIMES, my SID gets embedded in the URL ???

2004-10-07 Thread PHPDiscuss - PHP Newsgroups and mailing lists
Wow, thank you, it was so obvious! Marek Kilimajer wrote: > PHPDiscuss - PHP Newsgroups and mailing lists wrote: > > he problem is that SOMETIMES, my SID gets embedded in the URL, although at > > the begining of every page I have this code: > > > > ini_set(session.use

[PHP] Sending file stored on server via email - How?

2007-01-08 Thread Matt Arnilo S. Baluyos (Mailing Lists)
cient Tao, Move with the present. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Sending file stored on server via email - How?

2007-01-08 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 1/8/07, Ville Mattila <[EMAIL PROTECTED]> wrote: Matt Arnilo S. Baluyos (Mailing Lists) kirjoitti: > What's the easiest way to go about this? Specifically, what's the > easiest way to read a file from the server and send it as an email > attachment. I woul

[PHP] Classified Ads Script

2007-02-19 Thread Matt Arnilo S. Baluyos (Mailing Lists)
to what they're using and what they think of it. Best Regards, Matt -- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] SNMP support on compile from source FastCGI

2007-03-25 Thread Matt Arnilo S. Baluyos (Mailing Lists)
here is no end. Stay with the ancient Tao, Move with the present. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SNMP support on compile from source FastCGI

2007-03-25 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 3/26/07, Matt Arnilo S. Baluyos (Mailing Lists) <[EMAIL PROTECTED]> wrote: Hello everyone, I'm trying to add the SNMP module with a compile-from-source PHP 5.2.1 installation. This is on a Fedora Core 5 system with target web server being lighttpd. This is the configure script

[PHP] short open tags not working even if enabled - lighttpd + fastcgi

2007-03-26 Thread Matt Arnilo S. Baluyos (Mailing Lists)
here is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] List() help

2004-05-09 Thread PHPDiscuss - PHP Newsgroups and mailing lists
I'm using list like list($a,$b,$c,$d) = $MyArray MyArray holds more than three items, 0-4 more, my problem is that $d only gets one and I lose the others if more tha one extra. I know I can just add more $e,f,g,h,i but how do I get the extras into an array? TIA RGauthier -- PHP General Ma

[PHP] Re: how to verify PHP has been installed with ldap?

2004-05-21 Thread PHPDiscuss - PHP Newsgroups and mailing lists
ot;ok4now"; > if (!($ldap = ldap_connect("w2kdc1.eng.some.edu", 389))) { > die ("Could not connect to LDAP server"); > } > if (!($res = @ldap_bind($ldap, $dn, $password))) { > die ("Could not bind to $dn"); > } > echo "bind fine!"; >

[PHP] Re: PHP 4.3.7 update - how to

2004-07-06 Thread PHPDiscuss - PHP Newsgroups and mailing lists
at the make > install would overwrite the PHP executables but it obviously doesn't .. > Now where in the conf file does the PHP module get mentioned? I;ve searched > it with no mention of PHP! > Alan Did you remember to uninstall the RPM? I believe you must do this first b

Re: [PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-20 Thread PHPDiscuss - PHP Newsgroups and mailing lists
return 1; > > else > > return 0; > > } > > } > now instead of doing all that mundane work, we simply have to > find out if the days are outabounds for the paticular months. > // obtain the day of month > $dayofmonth = (int)strftime('%d', $utimestamp); > // and the day of week > $dayofweek = strftime('%u', $utimestamp); > if ($month == '04') { > // If its the first week of 04 > if ($dayofmonth <= 7) { > // and we havn't reached sunday, return 0 > return ($dayofweek < 7) ? 0: 1; > } > return 1; // otherwise we're passed it. > } elseif ($month == '10') { > // look at the last week october > if ($dayofmonth >= 24) { > // see if we're still in the zone. > return ($dayofweek < 7) ? 1: 0; > } > return 1; > } > // something went wrong. > return -2; > > } > Curt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Two MySQL instances in one server

2007-10-15 Thread Matt Arnilo S. Baluyos (Mailing Lists)
possible, I would prefer a purely mod_php solution as opposed to one that would have PHP running on CGI. Thanks in advance, Matt -- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present. -- PHP General Mailing List (http

Re: [PHP] Which PHP-Editor to use?

2007-10-17 Thread Matt Arnilo S. Baluyos (Mailing Lists)
mend me to switch to? > > > > Thank you for any comment. > > > > Best regards, > > > > Merlin -- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Which PHP-Editor to use?

2007-10-17 Thread Matt Arnilo S. Baluyos (Mailing Lists)
On 10/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 2007/10/18, Matt Arnilo S. Baluyos (Mailing Lists) > <[EMAIL PROTECTED]>: > > Does Eclipse already have word-wrap? > > > > To my disappointment, it was still lacking that basic functionality > > t

<    1   2   3   4   5   >