Re: [PHP] PHP session replication

2011-03-17 Thread Joel
Take a look at MCache: http://www.mohawksoft.org/?q=node/8 A drop in distributed replacement for php sessions. Or you could use memcache to do the same thing. On Thu, Mar 17, 2011 at 12:06 AM, Alessandro Ferrucci wrote: > Hello, > I'm curious, what are the most popular methods to perform sessi

Re: [PHP] Failure in bitwise operations moving from 5.2.x to 5.3.x

2011-03-15 Thread Joel
You might want to take a look at the BC Math functions, which can perform operations on arbitrary length numbers. On Tue, Mar 15, 2011 at 12:31 PM, Ford, Mike wrote: >> -Original Message- >> From: Andy McKenzie [mailto:amckenz...@gmail.com] >> Sent: 15 March 2011 15:51 >> >> As it turns o

Re: [PHP] PHP 5.3.6RC2 Released for Testing

2011-03-10 Thread Joel
http://svn.php.net/viewvc/php/php-src/tags/php_5_3_6RC3/NEWS?revision=309052&view=markup 2011/3/10 sexyprout : > What will be the changes in PHP 5.3.6 final? > > 2011/3/10 Johannes Schlüter > >> The third, and last, release candidates of 5.3.6 was just released for >> testing and can be downloade

[PHP] Is 5.3.5 really that much slower than 5.2?

2011-03-05 Thread Joel
ick to making it behave better, or do I simply have to stick with 5.2 until it's no longer supported? Is anyone else out there in the same boat? Thanks! Joel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How can I stop PHP from resolving symlinks?

2006-02-23 Thread Joel Leibow
You need to check your httpd.conf and make sure the "Options FollowSymLinks" is set for the server. Check the apache documentation for further information. Joel Leibow "Roy Souther" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am trying to stop PHP

[PHP] Re: Last Sunday in September?

2006-02-17 Thread Joel Leibow
Here is how I did it. "Jay Paulson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I'm building a program and I need to find the last Sunday in September for > every year because the following Monday is the start of a new year for us. > So 2006 ends on September 24th 2006

[PHP] Pb to change "accountexpires" attribute in Active Directory

2005-10-19 Thread Joel d
Hi all, I'm currently setting up a php site to control my Active Direcory, and I'm struggling with the "Accountexpire" field. After extending the expiration date, I can't set it back in AD, because it is in scientific format (1.2774158851E+017). And I can't find how to transform this into an

Re: Re: [PHP] urlencode and google search query

2004-10-28 Thread Joel CARNAT
On Thu, Oct 28 2004 - 00:31, Marek Kilimajer wrote: > > I meant get parameters to google: > > http://www.google.com/search?q=help&ie=utf-8&oe=utf-8 > > you need to change ie parameter ^^ to whatever encoding you are using. yepee ! finally got it. so the tweak was : * don't use urlencode()

Re: Re: [PHP] urlencode and google search query

2004-10-27 Thread Joel CARNAT
On Wed, Oct 27 2004 - 23:41, Marek Kilimajer wrote: > >how comes urlencode generates "%E9" and google generates "%C3%A9" ? > >is google using some specific encoding ? any tweak to encode "the google > >way" ? > > you can specify your encoding to google using "ie" parameter. and output hum... I

[PHP] urlencode and google search query

2004-10-27 Thread Joel CARNAT
Hi, I have a submit form from where I can search things to several sites (google, freshmeat, ...). I use PHP4/urlencode to generate the correct query. But it seems google does not use the right encoding :( example - query="programme télé": $engine = $_POST["engine"]; $query =

[PHP] Open a stream to the shell..

2004-08-28 Thread Joel Kitching
($fp); Now this obviously wouldn't work, as it would overwrite the bash executable if you had proper access, but it's just to get the idea across. So, does anyone know how I can do this? -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php+iptables

2004-08-13 Thread Joel n.solanki
Great ..I will surely do what u told me. This really sounds good to work on. I will start implementing this in 1 or 2 days. Can i contact youi personally if i need little help ? Regards and thank for your help Joel On Thu, 2004-08-12 at 21:20, Robby Russell wrote: > On Thu, 2004-08-12 at 01

[PHP] php+iptables

2004-08-12 Thread Joel n.solanki
run linux command. I am very newbie to php even dont know html so i m having tough days with php. if any one could help me out. any docs. Regards, -- Joel N.Solanki Network Administrator Phone No: 0265-550001/2/3/4/5 Ext: 211/212 Digtial 2 Virtual Internet Service Provider. http

[PHP] PHP5 OOP

2004-08-10 Thread Joel Kitching
mpty. I tried changing it to static, but it didn't inherit the $db variable for some reason. So, how can I make this work, so I can write a bunch of classes that can blindly use $this->db or something similar without having to worry about setting it in the constr

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Joel Kitching
exist and you therefore do not need to perform stripslashes(). I tried using addslashes() on the string in the query, and then SELECTing it, and the slashes are included. Does mysql_escape_string() not do this? > > and now to the second part... why use htmlentities()? that is for > di

Re: [PHP] Re: How to escape apostrophe in HTML textbox exactly???

2004-06-30 Thread Joel Kitching
What's wrong with addslashes() on the way in and stripslashes() on the way out? Why would you want to convert it to it's HTML entity? -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
27;m just starting to get it. -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OOP, Classes, Sharing Code

2004-06-28 Thread Joel Kitching
duplicate the code in each class (Portfolio and Album), or is there a better way of organizing all of this? -- Joel Kitching http://midgardmanga.keenspace.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Php survey+database

2004-06-23 Thread Joel Kitching
I think he wants us to tell him how to set up PHP and a database, and then write some PHP code to add survey results to the database. So, get on it! On Thu, 24 Jun 2004 13:07:28 +1000, Ligaya Turmelle <[EMAIL PROTECTED]> wrote: > > So what is your question. > > Respectfully, > Ligaya Turmelle >

Re: [PHP] plz help!compiled php but iam still getting old version ???

2004-06-20 Thread Joel Kitching
Try looking in your apache configuration files for a reference to a PHP library file or something... Though I don't see the logic in installing an older version either. On Sun, 20 Jun 2004 21:53:37 -0400, Michael Lauzon <[EMAIL PROTECTED]> wrote: > > Why do you want to install 4.3.3, when the la

Re: [PHP] hi all can you read me ?

2004-06-20 Thread Joel Kitching
I'm not quite sure, do you have something written on you? On Mon, 21 Jun 2004 01:51:51 +0200, Pierre <[EMAIL PROTECTED]> wrote: > > Hi all just wanna check if you can read me > > Thx > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: hellllppp my php kills the browser

2004-06-19 Thread Joel Kitching
Perhaps you would be better off going to IRC, as you seem to have many (smaller) questions... On Sat, 19 Jun 2004 17:42:26 -0600, water_foul <[EMAIL PROTECTED]> wrote: > > i fixed it i had an endless loop oops :) > "Water_foul" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > >

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
yy dont expire (maby the expiration is set wrong.. i'm a newb > with cookies > > "Joel Kitching" <[EMAIL PROTECTED]> wrote > Are you sure you're trying to access them properly, and on the next > > page refresh? > > > > ex) > &

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
Are you sure you're trying to access them properly, and on the next page refresh? ex) On Sat, 19 Jun 2004 15:56:36 -0600, water_foul <[EMAIL PROTECTED]> wrote: > > all i did was a function and some conditionals > "Joel Kitching" <[EMAIL PROTECTED]> wrot

Re: [PHP] cookie question

2004-06-19 Thread Joel Kitching
Did you do this before you sent some outut? This would send headers, therefore causing you to not be able to send the "cookie" header. On Sat, 19 Jun 2004 15:51:00 -0600, water_foul <[EMAIL PROTECTED]> wrote: > > whats wrong with this script > setcookie('link' . $loopnum . '',$url,time()+3600*20

Re: [PHP] Regular Expressions Tester/designer

2004-06-19 Thread Joel Kitching
On Sat, 19 Jun 2004 17:23:53 -0400, Al <[EMAIL PROTECTED]> wrote: > > Anyone know of a good regular expressions tester/designer for php coding > running windows. > > I've looked at the Rad Software Regular Expressions Designer and it > looks pretty good except that it is intended for .net and it

Re: [PHP] Limiting an array to unique values

2004-04-06 Thread joel boonstra
3 > Item 1 > > What I need to have is unique values only. > > Item 1 > Item 2 > Item 3 > > How can I sort out the redundant values in that array? PHP's 'array_unique' function should help: http://php.net/array_unique -- [ joel boonstra | gospelcom.net

Re: [PHP] Calculate

2004-03-16 Thread joel boonstra
SELECT COUNT(whatever) FROM table WHERE MONTH(your_date) = '03'; then your result set will only have one row (the number of matching rows), and you don't need to do any additional counting work. However, all of that is for the OP, not for me, so I'm CCing the list back in. --

Re: [PHP] Calculate

2004-03-16 Thread joel boonstra
ons.html#IDX1341 [4] This query assumes that end_date is sufficient to determine which month something is "in". Also, it relies on some potentially MySQL-specific syntax. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Certification

2004-03-16 Thread joel boonstra
their PHP "exam" is anything like this one, though, the final certification will mean nothing except that you gave them $10. -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get "nice" variables from POST

2004-03-11 Thread joel boonstra
ccess to my variables, but I don't have the danger of $_POST variables overwriting my existing ones (assuming I don't name other variables with the p_ prefix, use the proper extract() flags, etc.). joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] perl, cgi and php

2004-03-10 Thread joel boonstra
gi files through CGI. They will need to fix that, or he will need to move ganttChart.cgi into a directory that is setup to handle CGI files -- sometimes you'll have a cgi-bin directory for this purpose. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail fifth parameter

2004-03-06 Thread joel boonstra
tual sending. In addition to a previous suggestion, one way to reliably set that header is to use phpmailer (http://phpmailer.sourceforge.net/) which has the option of using an smtp server rather than sendmail directly. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to write this correctly?

2004-03-06 Thread joel boonstra
put('art') > break; > case "animals": > output('animal'); > break; > case "contact": > output('contact'); > break; > } Hrm... why the switch() statement? I can see the need for validating user-subm

Re: [PHP] Best way to do this (sub selects?)

2004-03-04 Thread joel boonstra
r if the topic has changed if ($topic != $last_topic) { print ''.$topic.''; } print " $question$answer"; # store the topic for next time around $last_topic = $topic; } print ''; ?> HTH! [1] http://www.mysql.com/do

Re: [PHP] Re: why use safe mode?

2004-03-03 Thread joel boonstra
at only one instance will be tied to a vhost (so if one vhost is getting lots of traffic, and one is getting only a little, there won't be spare servers around to balance things out). I'm basing that all on what I read at Apache's site, so I may well be wrong. joel -- [ joel boonst

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread joel boonstra
uest, is it?) and keeping the HTML in the database lets the admin. interface be as interactive and dynamic as is necessary. Just my $.02, though -- I'm not going to have to end up maintaining this, so the best answer is the one that works the best for the OP. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread joel boonstra
iginally entered when they authored the content. I'm assuming this isn't a 1-to-1 transformation, so that these: Some bold text Some bold text Some bold text will all get turned into: Some bold text If you turn the text back into , then it's not clear whic

Re: [PHP] Re: preg guru question

2004-02-14 Thread joel boonstra
so many parens. IOW, Adam's is better ;) [0]: The one I posted was: '//i' which didn't require quotes to match each other, didn't allow for arbitrary whitespace, and didn't allow for XHTML-style tag closing. -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Browser Detection another page

2004-02-13 Thread joel boonstra
probably be carried on offlist. Or, better yet, I bet css-discuss can provide tips for using CSS to support handheld browsers, without having to duplicate content or do browser sniffing. -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] preg guru question

2004-02-13 Thread joel boonstra
On Fri, Feb 13, 2004 at 02:19:11PM -0500, joel boonstra wrote: > if (preg_match('//ig', $dah, $matches)) { > print_r($matches); > } Doh! The '/ig' should just be '/i'. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (htt

Re: [PHP] preg guru question

2004-02-13 Thread joel boonstra
h. Compare: '; $doo[2] = ""; foreach ($doo as $dah) { if (preg_match('//i', $dah, $matches)) { print_r($matches); } # adding ? after the * if (preg_match('//ig', $dah, $matches)) { print_r($matches); } } ?> 'Course, it still doesn't

Re: [PHP] Browser Detection another page

2004-02-13 Thread joel boonstra
ing designs in this manner is that you are not coding for browsers or platforms; you are coding for capabilities and standards. It's pretty clear that browser rendering/standards support is only getting better, and that the number/variety of browsers is growing. > Could you throw in another 2 ce

Re: [PHP] Browser Detection another page

2004-02-12 Thread joel boonstra
le to whichever browser accesses your site. IMHO, browser-sniffing to serve different content is a bad idea. -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] weird header() (bug may be)

2004-02-11 Thread joel boonstra
he proper code (including the properly-formed URL mentioned by others) is something like: if($foo == 'something'){ header('Location: http://www.example.com/to_another_page.php') ; exit(); }else { do another thing in here } h

Re: [PHP] Can PHP redirects be detected?

2004-02-09 Thread joel boonstra
Permanently), then the redirected URL is indexed. I have nothing to back this up other than trying it out with some sites, and watching the results (with Google) over a few months, but it makes sense to me. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://w

Re: [PHP] Can PHP redirects be detected?

2004-02-09 Thread joel boonstra
address, then no, bots can't figure that out. Unless they switch useragents/IPs and compare the results that they get. Or unless a human complains that the listing is innacurate. etc... -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Website Architecture

2004-02-05 Thread joel boonstra
On Thu, Feb 05, 2004 at 05:42:54PM -0500, joel boonstra wrote: > # ini_set(): > ini_set('include_path', "{$_SERVER['DOCUMENT_ROOT']}:."); Replying to myself, it appears that PHP >= 4.3.0 has a family of functions specifically for tweaking includ

Re: [PHP] Website Architecture

2004-02-05 Thread joel boonstra
to contain anything useful. If you set it manually, though, it can contain whatever you want. Unless I'm misunderstanding what you're saying... joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Website Architecture

2004-02-05 Thread joel boonstra
#x27;/'); Why not use php's include_path setting? No need to define constants, no need to worry about the location of your script relative to the document root, and it works with more functions than just include() and require(). I have found it to be the cleanest, most reliable, a

Re: [PHP] content management

2004-01-26 Thread joel boonstra
rough its built-in plugin interface, which is Perl). joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] An array curiosity....

2004-01-26 Thread joel boonstra
hings added or removed as you're coding -- not having to worry about removing a trailing comma for an element that is now the last one, or adding one to previous elements when adding items to the list is a small but useful timesaver. Perl does this as well. I'm not sure which other langua

Re: [PHP] Help with preg_replace

2004-01-19 Thread joel boonstra
On Mon, Jan 19, 2004 at 07:15:53PM +0200, John Clegg wrote: > Hi Joel, > > Thanks for the reply. > > I have tried using "/" to delimit the string and I get the following error > > String > > $url = "/http://www.foo.com/maxbid/Unsubscribe.php?Em

Re: [PHP] Using PHP with Style Sheets

2004-01-19 Thread joel boonstra
ged the mime type of the whole document. I'm guessing that the .css file will be used in the traditional way: > > > My Page > > Now, it's the browser that's fetching the .css file, so the header() call isn't a problem at all. The browser simply performs a s

Re: [PHP] Help with preg_replace

2004-01-19 Thread joel boonstra
rd slashes. Additionally, if you're only doing a simple string substitution, you should use str_replace instead: http://php.net/str_replace You won't need the "/" delimiters, and it will be faster than using preg_replace. joel -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] odd and even numbers

2004-01-16 Thread joel boonstra
er generator with srand(). If you are using 4.2.0 or greater, and still seeing non-random behavior, I don't really have an answer. -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] odd and even numbers

2004-01-16 Thread joel boonstra
"true" and "false". Just negate the result of your modulus operator, and take advantage of the fact that "0" is false, and "1" is true: function isOdd ($value) { return !((int)$value % 2); } -- [ joel boonstra | gospelcom.net ] -- PHP General Mail

Re: [PHP] Looping problem?

2004-01-06 Thread joel boonstra
On Tue, Jan 06, 2004 at 05:33:41PM -0500, joel boonstra wrote: > I would recommend not simply doing a select *, but rather specifying > which columns you want. That way, if your database schema changes > (e.g., you add two more columns), your code won't break. And, respon

Re: [PHP] Looping problem?

2004-01-06 Thread joel boonstra
{option domain-name-servers $dns01, $dns02;option routers $rtrs;range $rnge;}"; print $tmp; $vlans[] = $tmp; } ?> I would recommend not simply doing a select *, but rather specifying which columns you want. That way, if your database schema changes (e.g., you add two more colu

Re: [PHP] Adding X days to a time string...

2003-11-21 Thread joel boonstra
worry about leap years, number of days in a month, etc... -- [ joel boonstra | gospelcom.net ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Choosing a CMS?

2003-10-18 Thread Joel Konkle-Parker
better than PHPNuke for this type of thing out there? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 4.3.1 for Debian Woody?

2003-10-18 Thread Joel Konkle-Parker
Does anyone have, or know where to get, a Debian Woody package for PHP 4.3.1? I've checked apt-get.org, but nobody seems to have that version. Thanks in advance. -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [+1 662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing

Re: [PHP] WYSIWYG online editor for Macintosh?

2003-09-01 Thread Joel Rees
ely on Mac OS 9 and keep track of any system extensions you have to load to get things to work. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- "When software is patentable, anything is patentable.&

Re: [PHP] WYSIWYG online editor for Macintosh?

2003-08-28 Thread Joel Rees
m, and got more information than I want to wade through. Then I went to apple.com, clicked on the "Made4Mac" tab, and wandered onto this page: http://guide.apple.com/uscategories/productivity.lasso scrolled down, selected text processing and editing utiliities, and got quite a few hits.

Re: [PHP] webserver for mac

2003-08-27 Thread Joel Rees
tomer really doesn't want to serve their site on a box that is also being used to run applications. So, even if the box they are thinking of putting the site on isn't a Mac OS X box, they really want another box, and they might as well get Mac OS X for that box. -- Joel Rees

Re: [PHP] Website templating schemes

2003-08-27 Thread Joel Konkle-Parker
the browser would request the same index.php every time? with server.com/index.php?query_string? And the query string would determine the body_XXX.php to be included? Right now I have it set up so that a different index.php is requested each time, but calls the same template.php. -- Joel Konkle-Par

RE: [PHP] Website templating schemes

2003-08-27 Thread Joel Konkle-Parker
lls index.php -- #index.php programming tasks.. $results = results of above; function body() { # info, content, etc. global $results; echo $results; } require "template.php"; -- -- #template.php prints header stuff body(); prints footer stuff -- Does that

[PHP] Website templating schemes

2003-08-26 Thread Joel Konkle-Parker
ven better than that?)? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Step-through debuggers?

2003-08-21 Thread Joel Konkle-Parker
I'm looking for some tips on a step-through PHP debugger. I'm cheap and I don't have administrative access to my server. Anything come to mind? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing List (htt

[PHP] HTTP transactions with PHP?

2003-08-21 Thread Joel Konkle-Parker
istaken (can it?). -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone [662-518-1636] E-mail[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Capturing script output

2003-08-21 Thread Joel Konkle-Parker
to be able to capture the output of the forum script to include it in my template, but I want to keep it original, so I don't have to maintain a diff against the original source. Can anyone offer some advice as to what I should do here? -- Joel Konkle-Parker Webmaster [Ballsome.com] Phone

Re: [PHP] Server-side script identified as IE

2003-08-14 Thread Joel Rees
earn to do it right. Doing it right involves teaching your buddy how to publish an interface to the parts of his site that he is willing to share, etc. If you're not legit, find something more constructive to do with your time. -- Joel Rees, programmer, Systems Group Altech Corporation

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Joel Rees
sending the next. You can get mass-mailing systems written in Perl, I think there are now some available for PHP. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] PHP vs ASP.NET "formal opinions" request

2003-08-11 Thread Joel Rees
n. Wish me luck :D Good luck, but don't be surprised if the road is longer and harder than it ought to be. Make sure you can make a living while you're fighting. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Joel Rees
at's okay, jump into bed with them. If you don't like the deepening recession, run like hell, because if you think about it, it's exactly that kind of business that sucks all the value out of things. (And that's exactly what recession and depression are all about.) -- Joel

Re: [PHP] PHP or CGI in C/C++

2003-07-31 Thread Joel Rees
on if you have that much experience. A book you might find useful in this context is Chris Radcliff's Perl for the Web. (Perl is one of PHP's grandpappies, so much of the discussion will apply to PHP.) > I appreciate your comments in advance. I made no comments in advance, but you'

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joel Rees
quickest approach, anyway. And I'm sure they appreciate the notification. I sure would. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Possible My Website was hacked... with PHP... please tell me what this is???

2003-07-31 Thread Joel Rees
And if you have any valuable data, consider it to have been stolen. If you have credit card numbers, report the possibility of theft to the credit card companies. Etc. If you're trolling, go away. -- Joel Rees, programmer, Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://w

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-25 Thread Joel Rees
re is still a problem with the header function - it still > will not redirect. So did you check for things like CR/LF? -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] arguments against moving site from Linux/Apache/PHP server to Windows/IIS/PHP needed

2003-07-25 Thread Joel Rees
arch your management is most likely to understand is research that is done in house. -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] classes v. functions

2003-07-24 Thread Joel Rees
> Hi, > > am Wednesday 23 July 2003 11:48 schrieb Joel Rees: > > > (You know that $accesses->count and $accesses->resetCounter() are at > > least declared in the same class declaration. $accesses_count and > > accesses_resetCounter() could be declared in enti

Re: [PHP] I need a PHP alternative to Windows Scheduled Tasks

2003-07-23 Thread Joel Rees
did a little script to mail out files on a regular basis. A co-worker wrote a C program that was called by the MSW2k scheduler, and that C program checked that my mailing script had completed before it tried to start another instance of the script. -- Joel Rees, programmer, Kansai

Re: [PHP] classes v. functions

2003-07-23 Thread Joel Rees
eep tens of thousands of lines of code constantly in your head? Or do you like to focus on several hundred lines at a time, get those to behave, then move on to another part with a fairly high level of confidence that you won't shoot yourself in the foot by using the wrong coun

Re: [PHP] Jumping between HTTP and HTTPS

2003-07-22 Thread Joel Rees
> if you do sniff the hash, the key, and the session. You will have to > get your request in before the key becomes stale, race, race! > In most cases the authentication is the > first thing done so we're dealing with micro seconds. Most cases? Why re-invent the wheel

Re: [PHP] Re: pdf information..

2003-07-16 Thread Miranda, Joel Louie M
Sven, thanks for the info! "sven" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > a pdf-page can have almost every format you want. > > originally you work with postscript-dots, where 72 dots are 1 inch. > it's easy from that point to calculate from metric system, where 1 >

Re: [PHP] Code and Good Design Methods

2003-07-16 Thread Joel Rees
> Hi Joel, > > Thanks for nice comments on the XML, XSL. > > I want to know more about it. can you please send me > some article, links and tutorials? > > Thanks > > Hardik The ultimate source for xml related technologies is the World Wide Web Consortium at

Re: [PHP] Grabbing info from other Sites

2003-07-15 Thread Joel Rees
other dep. since a > change in design may force a change in your logic. > If you can, try to build a separate interface for your app which you can > use to interface the backend of the other deps. You might even consider > Webservices. This way you are independend of the design of th

Re: [PHP] So in summary this can't be done due to permission problems?

2003-07-15 Thread Joel Rees
to not listen to anything coming in over the network. -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Grabbing info from other Sites

2003-07-15 Thread Joel Rees
> In php, I don't see anything right offhand. http://www.php.net/curl -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

Re: [PHP] How To Ask Questions - Some List Guidelines

2003-07-15 Thread Joel Rees
son to do so. Yeah, but I think the OP was not talking about mangling headers. The subject was how to ask questions, not how to set up the list server. The question is whether or not a person wants personal replies, I think. -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (

Re: [PHP] Missing php.ini file

2003-07-15 Thread Joel Rees
> Greetings again, > > Did as Ralph suggested...here is the output : > > [EMAIL PROTECTED] php]# find / -name php.ini -print sudo is your friend. > /home/chris/Documents/Mein Stuph/PHP 4 > Package/php-4.3.1/pear/tests/php.ini > find: /mnt/floppy: Input/output error > find: /mnt/cdro

Re: [PHP] BigEndian to integer

2003-07-15 Thread Joel Rees
hen you wake up this morning, the page for pack() lists an 'N' format for unsigned long big endian byte order for pack() and unpack(). I think what you probably want to do most is use the 'N' format when you unpack. (The other responses were amusing, was it a full moon last ni

Re: [PHP] Grabbing info from other Sites

2003-07-15 Thread Joel Rees
pport in Pear's encryption stuff. I'm sure the php community would appreciate it if you would build and share anything that's missing. ;-> > But I will take a look at SNOOPY. (hey.. isn't the name snoopy > copyrighted??) Trademarked, but only in relation to a c

Re: [PHP] Re: Replacing newlines (\n) with smething else

2003-07-15 Thread Joel Rees
", $Marion ); $Marion = str_replace( "\n", "\n", $Marion ); $Marion = '' . $Marion . "\n"; echo 'Marion: ' . $Marion . "\n"; $Juliet = preg_replace( '/([^\r\n]*)(\r\n|\n\r|\r|\n)/', "\${1}\n", $Helen

Re: [PHP] Code and Good Design Methods

2003-07-14 Thread Joel Rees
rs (particualarly in relation to your app), and XSL can definitely be used in ways that don't conform to that model. That's no big deal, just part of what makes life interesting. (And if you get into Javaland, you'll hear a lot about MVC and frameworks. That's a slightly more

Re: [PHP] Looking for experienced PHP programmer in the Memphis, TN area

2003-07-14 Thread Joel Rees
> This position requires strong technical knowledge in a server-side > scripting technology such as PHP (preferred) /JSP/Perl/ASP. Knowledge > of SQL queries, stored procedures and database design required. Must > have experience in HTML/CSS and familiarity with HTTP and networking > concepts. Grap

Re: [PHP] Is it possible to test an uploaded file to check the type?

2003-07-14 Thread Joel Rees
. Anyway, whether you parse or let the user tell you (MISE) depends on how careful you need to be (i. e., what your application is going to do with the upload). -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP General

[PHP] ImageTTFText for mac? win? linux?

2003-07-13 Thread Miranda, Joel Louie M
Im confused.. I know I have TrueType support on php. Now I wonder where will I put my fonts into my server? Like verdana, etc just a sample. Does this means even macintosh truetype fonts I can also load in? -- Thank you, Louie Miranda ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.p

[PHP] [ML] Are there any announcement rules for this list? (was Re: [PHP] Re: NEW SPAMMER ...)

2003-07-08 Thread Joel Rees
#x27;s the only comment I have on the subject. If the list maintainers do have rules or guidelines about announcements, maybe one of them would speak up now? -- Joel Rees, programmer, Kansai Systems Group Altech Corporation (Alpsgiken), Osaka, Japan http://www.alpsgiken.co.jp -- PHP G

Re: [PHP] Wrong parameter count for fgets

2003-07-07 Thread Joel Rees
en would return. The second is explained to be an optional limit to the number of bytes to be read. > How come this error occur? My guess is that you tried to pass fgets either the wrong number or the wrong type of arguments. -- Joel Rees, programmer, Kansai Systems Group Altech Corporation

  1   2   3   >