Re: [PHP] webapp creation...

2006-10-12 Thread Paul Scott
On Thu, 2006-10-12 at 10:58 -0700, bruce wrote: I'm looking to create a webapp. I'd rather not spend my wheels spinning on creating functionality from scratch when it already exists in other apps. so, I'm trying to find out if there are good 'starting' templates/shells that I might be able to

Re: [PHP] Can i take the variable name in a function?

2006-10-11 Thread Paul Scott
On Wed, 2006-10-11 at 13:19 -0400, Eric Butera wrote: In the add_some_extra example you gave he wants the named value of the passed parameter which is $str. Isn't that what the Reflection API is there for? --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] Testing people

2006-10-05 Thread Paul Scott
On Thu, 2006-10-05 at 03:36 -0700, Ryan A wrote: Hey all, this is a two part question but I need just one solution: Done. Go to http://avoir.uwc.ac.za/ and download Kewl.NextGen. Then install it and use the moduleadmin to install MCQ (multiple Choice Questions) module. It does everything

Re: [PHP] PHP 5, PDO in debian

2006-10-02 Thread Paul Scott
On Mon, 2006-10-02 at 10:33 -0300, Martin Marques wrote: On Mon, 2 Oct 2006, David Tulloh wrote: Martin Marques wrote: Does anyone have an idea on when PDO is going to be available in Debian? use www.dotdeb.org sources list. Its bleeding edge, but works OK. --Paul All Email originating

Re: [PHP] Display dynamic progress bar

2006-09-27 Thread Paul Scott
On Wed, 2006-09-27 at 16:42 +0200, clive wrote: No can do from php. You'll need javascript to do that. sorry slight typo, corrected. well actually you can , firstly you have some element you can update like a text box and then use javascript to update this text box. what you then do is

RE: [PHP] Best open source project/framework to support a php training course?

2006-09-27 Thread Paul Scott
On Thu, 2006-09-28 at 11:47 +1000, Ligaya A. Turmelle wrote: Might I make a suggestion to you - no matter which framework/OS project you use... Have it be in PHP5. Yeah it may restrict you in options, but that is where PHP is going and to my mind that is what someone new to PHP should be

Re: [PHP] Going from PHP4 to PHP5

2006-09-12 Thread Paul Scott
On Tue, 2006-09-12 at 08:29 -0700, Brian Dunning wrote: I'm considering upping my production server from 4 to 5. There are too many sites to test everything in 5 first. Is there a good source I can go to to find out what kinds of problems to expect? Don't really know of sites that will

Re: [PHP] Filter MS Word Garbage

2006-09-12 Thread Paul Scott
On Tue, 2006-09-12 at 15:02 -0700, Kevin Murphy wrote: Is there some way I can filter/convert this information before it gets to the mysql database? Best way to do this is to send it through catdoc. Not sure if the Word upload is HTML(ish) or a Word doc, but if the latter, then catdoc is

Re: [PHP] Is SOAP not really enabled?

2006-09-11 Thread Paul Scott
Sorry to say, but there is no native soap extension in php4, it was introduced with php5. Yeah, in PHP4 you may want to go with one of two routes: 1. NuSOAP 2. PEAR::SOAP AFAIK Pear Soap was used as a basis for the native C extension, so would probably provide the easiest space for you

Re: [PHP] Date maths

2006-09-10 Thread Paul Scott
Dave, Luckily for you there is a whole whack of functions made specifically for these issues... On Sun, 2006-09-10 at 21:19 +0100, Dave Goodchild wrote: So, when an event-holder enters a repeating event, the main event details are held in the events table, and all the relevant dates for the

Re: [PHP] Is this unsecure?

2006-09-05 Thread Paul Scott
On Tue, 2006-09-05 at 16:04 +0700, Peter Lauri wrote: I have bumped into a problem. I need to use a web service that is located on server B from server A. The server B will execute a script when the web service is accessed and an email is sent as an parameter. The problem is, if I only have

[PHP] strtotime() strangeness

2006-09-04 Thread Paul Scott
I am trying to convert a date and time (from the apache2 server logs) in the format of 27/Aug/2006:19:02:20 +0200 to a UNIX timestamp and then reformat it as a RFC compliant date by using date('r', $thedate); My problem is as such. In PHP-5.1.2 it works perfectly and returns the correct date. In

Re: [PHP] Video uploading with PHP - convert to flash on the fly?

2006-09-04 Thread Paul Scott
On Mon, 2006-09-04 at 10:59 +0200, Merlin wrote: Can somebody please point me to a start on how to convert the video files on the fly during upload into flash video? Similar to the image If you are using *NIX you can use ffmpeg and something like system() or passthrough(); to achieve some

Re: [PHP] Video uploading with PHP - convert to flash on the fly?

2006-09-04 Thread Paul Scott
On Mon, 2006-09-04 at 11:50 +0200, Merlin wrote: thank you for the hint. ffmpeg seams to be a good way to create thumbnails out of the video, but how to convert it on the fly to flash video? PHP extension called ming. Look for it somewhere on opaque.net I am not sure if ming is still

Re: [PHP] remove SimpleXML nodes

2006-08-31 Thread Paul Scott
On Thu, 2006-08-31 at 14:38 +0200, Javier Ruiz wrote: So I want to do... $xmlDatabase = new SimpleXMLElement($myXML); foreach ($xmlDatabase as $oneTable) { if ($oneTable['name'] == 'two') { /// HERE I WANT TO DELETE THE $oneTable NODE unset($oneTable); // --

Re: [PHP] Extream OT

2006-08-31 Thread Paul Scott
On Fri, 2006-09-01 at 13:05 +1000, Chris wrote: Of course it's possible. Linux mail servers allow mailboxes, depending on which mta you are using it's different. No idea what plesk uses. A pretty safe bet is to export your mail as MBOX, this can be done via a PHP or perl script, and then

Re: [PHP] what's all the about then?

2006-08-30 Thread Paul Scott
On Wed, 2006-08-30 at 13:10 +0100, Ross wrote: (ii) what is the technique called Read up on MVC (Model View Controller) and the front end controller design pattern. Wikipedia is a good start. --Paul All Email originating from UWC is covered by disclaimer

Re: [PHP] S: function to remove break URLs

2006-08-27 Thread Paul Scott
On Sun, 2006-08-27 at 20:31 -0400, Jon Anderson wrote: In reference to the detection part; In my case, 95%+ of the spam entries have links that contain one of about 5 words (casino, pharm, drug, stock, or invest), so I could eliminate most spam by automatically trashing all entries that

Re: [PHP] E_ALL | E_STRICT

2006-08-25 Thread Paul Scott
--=neXtPaRt_1156518520 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2006-08-25 at 10:43 -0400, tedd wrote: or should I lose the E_STRICT, or should it be something else? E_ALL in php4 will pick up everything, notices, warnings, the lot. I want to turn as much error

Re: [PHP] Overriding core functions

2006-08-22 Thread Paul Scott
On Tue, 2006-08-22 at 18:39 +0700, Peter Lauri wrote: I want to add some functionality when calling the mysql_query(): Why not simply wrap the mysql_query function in a php function? function query($whatever) { log($whatever); $ret = mysql_query($whatever); //do stuff

Re: [PHP] Shopping cart

2006-08-22 Thread Paul Scott
On Tue, 2006-08-22 at 05:36 -0700, Ryan A wrote: It really looks like I will have to write this myself :( We need to create a proper one, under a decent licence as a community damnit! Maybe even a generic PEAR object that can be customized/extended to connect to whatever gateway you need to?

Re: [PHP] Shopping cart

2006-08-22 Thread Paul Scott
Please sign up for an account and join the project at http://gforge2.uwc.ac.za/projects/phpcart/ I have started a mailing list, which should kick in in a few hours... --Paul On Tue, 2006-08-22 at 08:47 -0700, Ryan A wrote: --- Paul Scott [EMAIL PROTECTED] wrote: On Tue, 2006-08-22

Re: [PHP] Shopping cart

2006-08-22 Thread Paul Scott
Hey, Signed up there, but how do i join the project? my username is ryan OK I have added you as a project admin. I think you might also want to change the project name... phpcart is just too common to think that someone else is not using for one of their products. The project name

Re: [PHP] Shopping cart

2006-08-22 Thread Paul Scott
Cron for the mailing list has done its magic, so we can move this off the php-general list, i'm sure much to the relief of all those _not_ interested in this lot ;) Please visit http://avoir.uwc.ac.za/mailman/listinfo/phpcart-devel to subscribe. --Paul On Tue, 2006-08-22 at 10:24 -0700, Ryan A

Re: [PHP] syntax error help

2006-08-20 Thread Paul Scott
On Sun, 2006-08-20 at 18:18 +0800, Bigmark wrote: Can anyone tell me why this works on my localhost but gets an error on my server: Try quote your identifiers. SELECT COUNT(*) FROM `leaderboard` WHERE `points` =( SELECT `points` FROM `leaderboard` WHERE `username` = '$username' ); --Paul

Re: [PHP] Recommendations for PHP debuggers?

2006-08-20 Thread Paul Scott
On Mon, 2006-08-21 at 00:18 -0400, Robert Cummings wrote: Are you sure you need a debugger? I find the best tools around for debugging are echo(), print_r(), ob_(), and error_log(). Of course, I use a function that wraps the print_r(), and ob_xxx() functions for simplicity. I've never

Re: [PHP] Re: New Large Scale Project.

2006-08-14 Thread Paul Scott
I use Joomla quite a bit (Mambo by an other name). How about trying KINKY? http://avoir.uwc.ac.za/ It is customizable and we have a few code generation modules that will write your basic code for you, you just need to fill in the blanks. The new Chisimba framework does the same, and has a

Re: [PHP] Need PHP developer in Thailand

2006-08-14 Thread Paul Scott
On Mon, 2006-08-14 at 16:38 +0700, Peter Lauri wrote: Or there is maybe a PHP developer from another country that is interested to come to Bangkok for a year, not that great pay, but living standard are great. As part of our project, we have a strong internship programme. Would you

Re: [PHP] problem with Firefox print preview?

2006-08-11 Thread Paul Scott
On Fri, 2006-08-11 at 14:58 +0200, Angelo Zanetti wrote: The print preview (and printed page) doesnt print the first few rows but instead just prints blank then only prints the last line of the table on a new page. The table is embedded inside a fieldset component. Im not sure if its a

RE: [PHP] List Meeting NNOT

2006-08-10 Thread Paul Scott
That is why the Wright Brothers did what they did. ;) I prefer the Zeppelin personally... --Paul All Email originating from UWC is covered by disclaimer http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] List Meeting NNOT

2006-08-09 Thread Paul Scott
On Wed, 2006-08-09 at 18:54 -0500, Jay Blanchard wrote: Yes, but not everyone can get to or goes to conferences. And this would stand on its own don'tcha think? I think that Chicago is perfect, because it is centrally located (kinda') and a neat place to boot. Kinda...Chicago is a bit of a

Re: [PHP] PayPal's PHP SDK on Windows

2006-08-05 Thread Paul Scott
On Fri, 2006-08-04 at 23:50 -0700, s2j1j1b0 wrote: The PayPal SDK requires curl with SSL support How do I fix this? You do what it says, install and configure cURL with SSL support. cURL releases binaries for your OS at http://curl.haxx.se/ AFAIK they will have a precompiled binary with SSL

Re: [PHP] writing to fild on another server

2006-08-04 Thread Paul Scott
On Fri, 2006-08-04 at 10:50 -0400, blackwater dev wrote: Fopen, however, won't let me write using the http protocol. How can I open and write files between servers? This scenario would be one of the times that I would use LOB's for the image data. That way you could simply drop in another

RE: [PHP] Re: PHP Frameworks - Opinion

2006-08-03 Thread Paul Scott
On Thu, 2006-08-03 at 13:43 +0200, Arno Kuhl wrote: I'm not so sure if the botanist wasn't saying in a rather confused way that he was playing on the same side as PHPClasses, even if he did profess to be in the other team. Did he say he was rolling his own (in a way only botanists can do) or

Re: [PHP] PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
--=neXtPaRt_1154507404 Content-Type: text/plain Content-Transfer-Encoding: 7bit Personally, I think that the community at the Zend Framework is doing a pretty good job. Everything is coded very well, with a lot of possibilities to extend things to your personal needs (if nessecary).

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
Too bad there isn't a skeleton sort-of system that you essentially then just plug in the modules that you want/need to flesh it out. Then you'd have your own customized framework for each app that is developed and keeps *all* of the modules relevant to that app. Nothing extra would be

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
I see that there are a few different Universities in Africa supporting that framework. How active is the developer community? How long has KINKY/Chisimba been around? The AVOIR Project has been going for about 2 years now. KINKY and KEWL.NextGen were the first products of that project.

Re: [PHP] Re: PHP Frameworks - Opinion

2006-08-02 Thread Paul Scott
You mean we should all be happy that so much choice is available! I agree with Rob! I am a botanist. I have never been trained in Computer Science, as far as industry is concerned, I am not qualified to turn on a PC. Fortunately for me, I am also a geek. My PHP experiences started when

Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread Paul Scott
On Tue, 2006-08-01 at 12:35 -0400, Gabe wrote: What's the common consensus as to a solid PHP framework to use for application development? There seems to be a number of them out there, but I'm not sure which one's are the most robust, actively developed, secure, etc etc. OK, from my

Re: [PHP] Books: PHP and WAP

2006-07-26 Thread Paul Scott
Angelo, On Wed, 2006-07-26 at 17:53 +0200, Angelo Zanetti wrote: I need some recommendations for books: are there any good books on PHP and WAP/WML? Also (OT) a recommendation regarding books for CSS2 and XHTML. Not sure about books, but if you are interested in this area, I would

[PHP] Efficiency question

2006-07-25 Thread Paul Scott
I have googled around a bit, but not really found anything useful... Which is more efficient? A case switch or a $$method style method? An example: switch($action) { case 'edit': //do some stuff ... return edit_tpl.php; case 'whatever': //blah

Re: [PHP] PHP Developer Needed in San Jose, CA w/ Occasional Travel to Palo Alto

2006-07-24 Thread Paul Scott
On Mon, 2006-07-24 at 14:17 -0500, Franco Pawlisz wrote: My Client is specifically looking for a developer with strong front end PHP experience knowledge of Java and or Ruby is a major plus. What the heck is front end PHP, or am I misinterpreting the bad punctuation (or lack thereof)?

Re: [PHP] Enterprise grade CMS+Ecomm

2006-07-20 Thread Paul Scott
On Thu, 2006-07-20 at 09:30 -0700, Chris W. Parker wrote: As for a CMS, I just watched a video on Drupal 4.7 and it looks quite interesting. Opinions? How about having a look at http://avoir.uwc.ac.za/ ? Its Free, very easy to learn and has a very active user and developer community. Its

RE: [PHP] Open Source mailinglist?

2006-07-19 Thread Paul Scott
On Wed, 2006-07-19 at 17:03 -0500, Jay Blanchard wrote: I can't seem to find any place on the net where you can discuss Open Source-related questions in general??? [/snip] Don't Sourceforge and Freshmeat have lists? You could also join your local LUG, or a site like

Re: [PHP] forcing a script to run on page unload

2006-07-18 Thread Paul Scott
On Tue, 2006-07-18 at 21:32 -0700, jekillen wrote: in a site that I visit occasionally. Even if I quit the browser it still manages to delay the exit of the browser. But I don't remember whether it was one of my books on php or the php manual that this is in. Can someone point me in the

[PHP] php-head-shrink WAS: Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock

2006-07-15 Thread Paul Scott
--=neXtPaRt_1152981398 Content-Type: text/plain Content-Transfer-Encoding: 7bit My IBM laptop and I are having relationship issues... --Paul --=neXtPaRt_1152981398 Content-Type: text/plain; All Email originating from UWC is covered by disclaimer

Re: [PHP] Randomly rotate image on page load? File under: Image Manipulation

2006-07-10 Thread Paul Scott
On Mon, 2006-07-10 at 16:59 +1000, Chris wrote: http://www.php.net/image There's even a function to do the rotations for you http://www.php.net/manual/en/function.imagerotate.php That all depends on what you mean by image rotation. A bunch of folks define image rotation as displaying a

RE: [PHP] Chnage Management in PHP aka version control?

2006-07-05 Thread Paul Scott
On Wed, 2006-07-05 at 10:50 -0500, Jay Blanchard wrote: For instance we have a server. That server requires that PHP be recompiled with additional features. I would like to record the change, and maybe even plan for the change. I would need a baseline for PHP and then be able to setup

Re: [PHP] Re: Templates, PHP Frameworks, and DB Abstraction?

2006-07-04 Thread Paul Scott
On Tue, 2006-07-04 at 18:54 -0300, Manuel Lemos wrote: The truth is that good PHP developers are often not good Web (page) designers, and good Web designers are not good developers. Yes, I agree with this completely! I am a relatively decent developer, but ask me to design an interface and

Re: [PHP] Controlling a scanner with PHP

2006-06-27 Thread Paul Scott
On Tue, 2006-06-27 at 10:31 -0300, Miles Thompson wrote: George, You always have the interesting challenges served to you. Is this at the client or the server end? Controlled through the browser? Only at the browser on the server? I think there's a discussion about .com objects in the

Re: [PHP] More about converting text strings

2006-05-30 Thread Paul Scott
On Wed, 2006-05-31 at 00:27 -0500, Richard Lynch wrote: Show us the first 2 lines of index3.php Cuz line 1 has something in it to print out data/content. Probably whitespace outside of ?php ? --Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] SPANISH E-MAIL RESULT

2006-05-09 Thread Paul Scott
On Tue, 2006-05-09 at 06:11 -0400, SPANISH SWEEPSTAKE LOTTERY wrote: SPANISH SWEEPSTAKE LOTTERY OK this is getting crazy. Is it Spam the list day today? Did I miss the memo in the flurry of spam mails? Looks like it time to tighten up the ol spam traps again... --Paul -- PHP General Mailing

Re: [PHP] Rhumb Lines

2006-05-05 Thread Paul Scott
On Fri, 2006-05-05 at 11:44 -0300, Miles Thompson wrote: What an interesting problem. You might have better luck on a GIS or ocean racing list. Have you tried this: http://en.wikipedia.org/wiki/Rhumb_line I could do something like this using PostGIS and PHP, but a pure PHP solution is

Re: [PHP] Rhumb Lines

2006-05-05 Thread Paul Scott
On Fri, 2006-05-05 at 19:16 +0200, Paul Scott wrote: I could do something like this using PostGIS and PHP, but a pure PHP solution is probably going to be a tad slow with real geometries. Sorry about replying to my own post, but here is a postgis solution supplied off the PostGIS list

Re: [PHP] Portfolio suggestions

2006-05-04 Thread Paul Scott
On Thu, 2006-05-04 at 00:24 +0200, Rory Browne wrote: I'd like to rectify this, but I can't think of a suitable project. I'd like to do something new / useful as opposed to a glorified Hello World demonstration. Depends on your interests. I would say, join an established project and contribute

Re: [PHP] Mail and hotmail

2006-05-04 Thread Paul Scott
On Thu, 2006-05-04 at 17:37 +0700, Peter Lauri wrote: mail('[EMAIL PROTECTED]', 'A nice subject', 'Some text', 'From: Peter Lauri [EMAIL PROTECTED]'); This email does not arrive to the Hotmail inbox. This has been discussed ad nauseum on this list. I suggest going through the list archives

RE: [PHP] Mail and hotmail

2006-05-04 Thread Paul Scott
On Thu, 2006-05-04 at 17:51 +0700, Peter Lauri wrote: Paul, I did make a search on this. However, as you understand, searching for hotmail mail header will generate to much junk because it will be replies from hotmails that also will be included. Try the mail function on http://za2.php.net/

RE: [PHP] Bug madness

2006-04-27 Thread Paul Scott
On Thu, 2006-04-27 at 10:48 -0500, Jeremy Schreckhise wrote: Have you tried? error_reporting(E_ALL^E_NOTICE); Surely you mean error_reporting(E_ALL);? If one of my team members ships code that does not pass through on E_ALL (or E_STRICT), they get a beating. Now, back to the problem

Re: [PHP] Re: phpmailer problem with spam score

2006-04-25 Thread Paul Scott
On Tue, 2006-04-25 at 11:47 +0200, Barry wrote: - Tell the people to put your domain on the whitelist or the specific mailadress it comes from. - Use plaintext only mails The scroe is so high because of the links. Also, remember to put in a Reply-To header. A lot of SPAM software will

Re: [PHP] How to find img tag and get src of image

2006-04-24 Thread Paul Scott
On Mon, 2006-04-24 at 07:30 +0700, Pham Huu Le Quoc Phuc wrote: Hi everybody! I want to get src of image form a $text, I have a below text Regex - there is one for exactly that on http://fsiu.uwc.ac.za check out the wiki page of regular expressions. --Paul -- PHP General Mailing List

Re: [PHP] simple regex query

2006-04-06 Thread Paul Scott
On Thu, 2006-04-06 at 15:36 +0200, Jochem Maas wrote: Been tryin to figure out regex and have found some tutorials but some have made things clear and others have confused me. We are busy building up a library of commonly used regex's on a wiki, check it out at http://fsiu.uwc.ac.za/

Re: [PHP] test for illegal characters and consequences

2006-04-05 Thread Paul Scott
On Wed, 2006-04-05 at 13:34 -0800, Angelo Zanetti wrote: Thanks for the reply. So what do you do if someone enters illegal characters in one of your form? Do you inform the user and prompt them to enter the fields again or do you just strip out all the bad characters and enter the rest of

Re: [PHP] test for illegal characters and consequences

2006-04-04 Thread Paul Scott
On Tue, 2006-04-04 at 15:32 -0800, Angelo Zanetti wrote: Ive developed a site and now I've come to the stage where I need to test each textfield on each form for illegal characters that have been inputted. I would like to know from some of you how you go about it? In our framework, we use a

Re: [PHP] PHP MVC

2006-03-29 Thread Paul Scott
On Thu, 2006-03-30 at 15:29 +1000, SLaVKa wrote: Hey all, I am desiging my own MVC framework, now i know you can pass views in the string like index.php?view=displayAdmin , but what if the admin model has a choice of displaying a few views as well, like editing user, or editing product etc,

Re: [PHP] PHP MVC

2006-03-29 Thread Paul Scott
On Thu, 2006-03-30 at 15:58 +1000, SLaVKa wrote: So you only have one level of actions/views , what happens in a situation where the page you are loading has various sections which want either displayed or hidden? We use a finely grained permissions system. ACL and groups will determine

Re: [PHP] X-Mailer and headers when sending mail

2006-03-13 Thread Paul Scott
On Mon, 2006-03-13 at 13:41 -0800, Angelo Zanetti wrote: * 0.5 X_PRIORITY_HIGH Sent with 'X-Priority' set to high * 1.3 MSGID_NO_HOST Message-Id has no hostname * 2.0 HEADER_COUNT_CTYPE Multiple Content-Type headers found * 0.8 PRIORITY_NO_NAME Message has priority setting, but no

Re: [PHP] X-Mailer and headers when sending mail

2006-03-09 Thread Paul Scott
On Thu, 2006-03-09 at 17:27 -0800, Angelo Zanetti wrote: When adding additional headers to an email that gets sent from the mail function. What purpose does the X-Mailer have? It identifies the mail client. So I normally set X-Mailer = MySite Mailer; or something. This directive won't

Re: [PHP] Random permission strangeness

2006-03-09 Thread Paul Scott
On Fri, 2006-03-10 at 10:26 +1100, Chris wrote: If you leave your browser open for 20 mins or something and then try to log in, does that replicate it? Ah hah! The plot thickens! It seems that I can: 1. Launch the app - thereby starting the initial session 2. Leave the session to time out

Re: [PHP] Random permission strangeness

2006-03-09 Thread Paul Scott
On Fri, 2006-03-10 at 16:00 +1100, Chris wrote: If you can produce a small test case might be time for a bug report. It shouldn't give you permission denied errors. Will work on it over the weekend. I am going to try something dead simple with the session stuff and see what I can do with it.

Re: [PHP] Zoomable map

2006-03-08 Thread Paul Scott
On Wed, 2006-03-08 at 13:12 -0600, Philip Hallstrom wrote: I have been searching for this, but maybe one of you has seen it before and can save me some time. I need a class that will allow me to create a zoomable map application. I have a map, I just need folks to be able to zoom and

[PHP] Random permission strangeness

2006-03-08 Thread Paul Scott
I am pretty much randomly getting the following error: .. ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in ... As far as I can see the session write directory has no problems with permissions. The *really* strange thing is that it only fails at certain times,

Re: [PHP] Random permission strangeness

2006-03-08 Thread Paul Scott
On Thu, 2006-03-09 at 16:05 +1100, Chris wrote: What's the whole error message (ie context)? Is it coming from cron or randomly in your scripts? From Xdebug... Its random. I am just thinking though that what it *might* be is that the initial session is timing out between the app launch and

Re: [PHP] Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Paul Scott
On Fri, 2006-03-03 at 16:19 -0500, tedd wrote: Perhaps I'm fortunate, but I usually find a way around using Globals. And since I've been coding in PHP, I've never been forced to use them. Just my 2c... In our framework, I use globals as well, although I do tend to agree with Tedd regarding

Re: [PHP] Reading binary http post

2006-02-21 Thread Paul Scott
On Tue, 2006-02-21 at 19:40 +0100, Dirk Vanden Boer wrote: The post argument then looks like data=A Reading the post is done like this: if (isset($_POST['data']) Is there a way to fix this problem? Have you tried base64_encoding the binary data, then decoding it again on the PHP side?

Re: [PHP] Re: Working with a config file

2006-02-20 Thread Paul Scott
On Tue, 2006-02-21 at 00:14 +0100, Jens Kleikamp wrote: Benjamin Adams wrote: I'm trying to parse a config file, example of the config is: [fred] id=8782 section=s1 years=4 download1=mirror1 [frank] id=8372 section=s3 years=4 download1=mirror12 download2=mirror2 .

Re: [PHP] Upload via email?

2006-02-15 Thread Paul Scott
On Wed, 2006-02-15 at 22:37 -0500, Michael Crute wrote: On 2/15/06, Nicholas Couloute [EMAIL PROTECTED] wrote: How would u make a script that uploads files to ur server via email? 1. user emails the server 2. if there is a audio file (amr) attached then add it a folder! Are there any

Re: [PHP] how to build custom/private pear packages

2006-02-15 Thread Paul Scott
On Wed, 2006-02-15 at 22:33 -0800, Curt Zirzow wrote: with more research I came accross this place: http://pearadise.net/ Well aware of pearadise.net. I was just waiting to actually get some content going before registering there... Hopefully the more people take advantage of this the

Re: [PHP] how to build custom/private pear packages

2006-02-15 Thread Paul Scott
On Wed, 2006-02-15 at 22:02 -0800, Curt Zirzow wrote: This is one of the new features of pear, i sat through a talk on pear given by Tobias Schlitt, and introduced this channel concept. I attended Tobias' talk as well, and was quite impressed. I'd very much like to see you to get this to

Re: [PHP] Re: limit on the mail function

2006-02-13 Thread Paul Scott
On Mon, 2006-02-13 at 10:07 +0100, Barry wrote: No, but you can configure the virtual hosts that PHP uses POP3 logins to send mail. Then you can configure your mail server like that. Or you could update and increment a file/dbtable or something every mail sent. That way you could disable

Re: [PHP] doubt in mail function

2006-02-13 Thread Paul Scott
On Mon, 2006-02-13 at 10:05 +, suresh kumar wrote: both from and to address are valid but mail is not receiving to [EMAIL PROTECTED], The PHP mail() function will use sendmail/postfix/etc (your hosts MTA), if you plan on using a mail relay i.e. an SMTP server to send mail, you

[PHP] PHPUnit2 and TDD

2006-02-13 Thread Paul Scott
I am busy porting/rewriting our framework (http://avoir.uwc.ac.za/projects/nextgen http://kngforge.uwc.ac.za) from PHP4 to PHP5, and would like to know if there are any additional mailing lists that anyone knows of that are specifically focused around this topic. If there are none, I would like

Re: [PHP] How would u strip the path?

2006-01-24 Thread Paul Scott
On Tue, 2006-01-24 at 04:01 -0500, Nicholas Couloute wrote: how would u strip the path off of a variable? say that: http://za2.php.net/manual/en/function.basename.php basename it! --Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] phpmyadmin import

2006-01-23 Thread Paul Scott
On Mon, 2006-01-23 at 13:00 -0500, Austin Denyer wrote: Check the following entry in your php.ini file: memory_limit It's possible you may also need to check this one, too: post_max_size I realise that I may get flamed for this on a PHP list, but, generally when I import sql files to

Re: [PHP] mail not sent to certain mail accounts

2006-01-16 Thread Paul Scott
Angelo Zanetti wrote: I'm using the PHP mail function to send a confirmation email to a person once they register on the site. A few thing that happens with 2 of the A bunch of times, I have found that some hosts will up the spam ante when you don't include almost _all_ of the headers.

Re: [PHP] Re: PHP Frameworks

2005-12-27 Thread Paul Scott
On Tue, 2005-12-27 at 17:49 +0100, Petr Smith wrote: Can anyone point me to a good php MVC framework? What about http://www.symfony-project.com/ ?? Anyone using it? There is also a relatively new application framework, out of Africa, called KINKY. http://avoir.uwc.ac.za/projects/nextgen

<    1   2   3