Re: [PHP] My first XML!

2002-11-27 Thread olinux
Here's a start for you $value1) { if ($key1 == $parent) {// if it's a top category print it foreach ($value1 as $key2 => $value2) { $catname = $value2; // $value2 same as $value1[$key2] $catID = $key2; echo str_rep

Re: [PHP] Streaming audio

2002-11-27 Thread olinux
Bar=1 width=290 height=320> [audiofile.wax] And audiofile.wma is of course your windows media audio file. olinux > At 12:55 PM 11/27/2002 -0800, Mako Shark wrote: > >Does anyone know how to do streaming audio with > PHP? > >No clue if this is even p

Re: [PHP] PHP and WebDAV

2002-12-02 Thread olinux
switch back to the (both from the Temp files folder) web browser. olinux --- [EMAIL PROTECTED] wrote: > Hi All > > I am currently working on a simple document > management system in PHP. > Metadata and revision > histories and other relevant data is stored in a > PostgreSQ

Re: [PHP] does anybody know PHPlib's source site?

2002-12-03 Thread olinux
--- "Alexander A. Savenkov" <[EMAIL PROTECTED]> wrote: > Hi All. > >does anybody know PHPlib's source site? Google does __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing

Re: [PHP] protect downloadable files

2002-12-12 Thread olinux
This has been covered several times recently - check the archives. zend.com has a great article detailing how to accomplish this. olinux --- Adam Voigt <[EMAIL PROTECTED]> wrote: > Make the download link a PHP page: > > download.php?fileid+AD0-199 > > Then check to ma

Re: [PHP] Smarty + css + dreamweaver

2002-12-12 Thread olinux
use absolute path or http://www.sitename.com/style.css"; type="text/css"> --- Daniel Masson <[EMAIL PROTECTED]> wrote: > Hi list : > > This is maybe a silly question from deamweaver > users, i hope you people > understand what i mean. > > im working on a site php, smarty,css , etc. the > di

RE: [PHP] Smarty + css + dreamweaver

2002-12-12 Thread olinux
eb: www.imagine.com.co > Te Deseamos una Feliz Navidad > y un Prospero 2,003 > > > > > -Mensaje original- > > De: olinux [mailto:[EMAIL PROTECTED]] > > Enviado el: jueves, 12 de diciembre de 2002 16:14 > > Para: Daniel Masson; 'PHP' >

Re: [PHP] OOP for Web Programming Paradigm

2003-01-12 Thread olinux
I'm no OOP programmer but maybe extend your class to include methods for each situation. something like this: function countSingle($cid) function countMulti($cidArray) function countAll() HTH, olinux --- Victor <[EMAIL PROTECTED]> wrote: > Hello. I have this question. Whe

Re: [PHP] Ever complained about lousy PHP programmers?

2003-01-18 Thread olinux
I prefer single quotes on stuff that doesn't need to be parsed. In most cases this is more efficient, though probably not noticed except on a large scale. I also think it makes it easier to include html strings (because double quotes don't need to be escaped) and I find it easier to work my code i

Re: [PHP] PHP Books

2003-01-19 Thread olinux
o do really is) You'll probably be using MySQL at some point and this will help lots to understand how the database can help you out. http://www.amazon.com/exec/obidos/external-search/002-6827406-7685618?tag=opera-20&index=blended&keyword=Sams+Teach+Yourself+SQL+10+Minutes olinux --

Re: [PHP] Login scritp help needed.

2003-01-19 Thread olinux
ticle on this as well. olinux --- Karl James <[EMAIL PROTECTED]> wrote: > hey does anyone have a good login script that i can > i can go buy > on a tutorial sake. and also how to add the info > correctly into a > mysql database. > Im kinda of a noobie so bare with me plea

Re: [PHP] dreading OOP

2003-01-21 Thread olinux
The most helpful intro to OOP for me is the sidebar here: http://webreference.com/perl/xhoo/php1/5.html --- Jay Paulson <[EMAIL PROTECTED]> wrote: > The easiest way for me to explain and understand OOP > was to think of it this > way. > __ Do you

Re: [PHP] POST_with_PHP_--_please_help_!

2003-02-03 Thread olinux
You can do posts with curl http://www.php.net/manual/en/ref.curl.php olinux --- "arthur.chereau" <[EMAIL PROTECTED]> wrote: > I need to redirect the browser to an external > website and to automatically send POST > data to the site, without a form. > Basic

Re: [PHP] Alternating Row Colors in PHP........

2003-02-08 Thread olinux
Pop this in your loop $bgcolor = ($i++ % 2) ? '#FF' : '#EE'; echo ""; olinux --- CF High <[EMAIL PROTECTED]> wrote: > Hey all. > > I'm coming from Cold Fusion to PHP; in CF I could > alternate rows with the > following: > &

[PHP] Browser displays binary data

2003-02-12 Thread olinux
t think this is happening on the fly. ZLib Support enabled Compiled Version 1.1.3 Linked Version 1.1.3 zlib.output_compression Off Off zlib.output_compression_level -1 -1 zlib.output_handler no value no value Any ideas? Than

Re: [PHP] RE: Login system using PHP/MySql

2003-02-13 Thread olinux
http://www.devarticles.com/art/1/241 (you can find the other 5 parts) olinux --- YC Nyon <[EMAIL PROTECTED]> wrote: > Hi, > > I have looked at many examples session-based of > login/password system to > protect webpages but can't get it to work. Seems > simple but... I ha

Re: [PHP] programming question

2003-02-13 Thread olinux
You could make $category_array2 global function getGrandParent($cat_id, $year_model_id, $x) { global $category_array2 ... olinux --- Thomas Moore <[EMAIL PROTECTED]> wrote: > I am trying to return a variable from a recursive > function. If the recursive > function gets call

Re: [PHP] Keeping site metrics

2003-02-14 Thread olinux
http://www.devshed.com/Server_Side/PHP/Logging/page1.html http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=php+logging olinux --- Daniel Guerrier <[EMAIL PROTECTED]> wrote: > Can someone direct me to a tutorial or provide > insight > on how to track s

Re: [PHP] Re: date calculation

2003-02-16 Thread olinux
If you're using a database, it may be able to take care of this for you. If you're using mysql: 6.3.4 Date and Time Functions http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Date_and_time_functions olinux --- Fred Merritt <[EMAIL PROTECTED]> wrote: &

Re: [PHP] Help with authentication 'design'

2003-02-18 Thread olinux
You may want to check out PEAR::LiveUser http://pear.php.net/package-info.php?pacid=126 http://projects.21st-hq.de/liveuser/ A very complete / multilevel authentication package. Get the latest source from CVS as the source on pear site is a bit outdated. olinux --- "Clarkson, Nick&quo

Re: [PHP] internal site search

2003-02-18 Thread olinux
://www.searchtools.com/tools/tools-opensource.html olinux --- David Otton <[EMAIL PROTECTED]> wrote: > On Tue, 18 Feb 2003 13:35:14 +, you wrote: > > > i wanna make an internal site search, i wanna > search my internal html > >pages and php pages..and i have no clue h

Re: [PHP] php ecommers site

2003-02-19 Thread olinux
x.com/Complete_Scripts/Shopping_Carts/ olinux --- Chris Knipe <[EMAIL PROTECTED]> wrote: > Lo all, > > Is there any good already developed PHP based > commerce solutions out there? > I'm preferably looking for something with catalogues > (product pics, > descr

Re: [PHP] user registration system

2003-02-21 Thread olinux
this is decent A Complete, Secure User Login System by tim perdue http://phpbuilder.com/columns/tim2505.php3 and of course - hotscripts.com --- Dennis Gearon <[EMAIL PROTECTED]> wrote: > Anybody know of a good user registration system, > using emailed web addresses for verification of > e

[PHP] dynamic website screenshot/screen capture

2003-02-21 Thread olinux
would be great for a couple projects I'm working on to use this in the same style as alexa.com. (featuring screenshots next to search results.). thanks for any info! olinux __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more

Re: [PHP] dynamic website screenshot/screen capture

2003-02-22 Thread olinux
right - I was thinking more along the lines that php would loop thru URL database and then trigger IE somehow (have to be on windows box but not production server) The macro idea sounds like the best bet. Thanks olinux --- Justin French <[EMAIL PROTECTED]> wrote: > on 22/02/03 5:55 P

Re: [PHP] Printer Friendly page

2003-02-22 Thread olinux
make your own. what could be simpler? If you have data that is generated with php, just change the output to just send very basic html page. olinux --- Sebastian <[EMAIL PROTECTED]> wrote: > Greetings all. > > I am looking for a simple print page script. I tried > just a

Re: [PHP] Flash interaction with PHP

2003-02-23 Thread olinux
never used php and flash but a quick search and you would have found these. http://www.polar-lights.com/fla/url.html http://www.phpbuilder.com/columns/hill20011214.php3 http://www.flashkit.com/tutorials/Dynamic_Content/ --- pei_world <[EMAIL PROTECTED]> wrote: > do you know how to load the varia

Re: [PHP] Help with Arrays

2003-02-27 Thread olinux
and what problem is that?> how about just using the example? http://www.php.net/manual/en/function.file.php $lines = file ('http://www.example.com/'); // Loop through our array, show html source as html source; and line numbers too. foreach ($lines as $line_num => $line) { echo "Line #{$line

Re: [PHP] Get data from 5 tables

2003-03-05 Thread olinux
SELECT * FROM table1, table2, table3, table4 WHERE id = 1 AND table1.id=table2.id AND table2.id=table3.id AND table3.id=table4.id AND etc. or you can use a JOIN http://www.mysql.com/doc/en/JOIN.html --- Osman Omar <[EMAIL PROTECTED]> wrote: > Hi, > > How do I query to get data from 5 tables wi

Re: [PHP] Do query strings get spidered by Google?

2003-03-15 Thread olinux
re that you are doing some type of validation of the data that is being passed via the URL. olinux --- Mike Hillyer <[EMAIL PROTECTED]> wrote: > Hi All; > > I am trying to decide how to lay out a site with a > lot of articles, and I am > wondering if query strings get spidered

Re: [PHP] Authentication system

2003-07-05 Thread olinux
there's a good example in this article A Complete, Secure User Login System by Tim Perdue http://www.phpbuilder.com/columns/tim2505.php3 olinux > On 2 Jul 2003 at 13:00, Mike Migurski wrote: > > > You may find it easier to include, in the e-mail, > a > > unique

[PHP] Re: [PHP-DB] Compiling 4.2.3 with MySQL ... what does it look for?

2003-07-05 Thread olinux
try --with-mysql=/usr --- -{ Rene Brehmer }- <[EMAIL PROTECTED]> wrote: > X-posted to PHP General, PHP DB, and MySQL > > Hi gang > > Attempting to get my Linux test-server working, but > ran into a problem when > "making" PHP... > > System is RedHat 8, Apache 1.3.27 (compiled myself, > tested

Re: [PHP] Newbie Directory question

2003-07-12 Thread olinux
irtualhost olinux --- [EMAIL PROTECTED] wrote: > I'm wondering if there is a way to have your php > development files in > another directory other than htdocs when using > apache. Similar to the > virtual directories IIS uses. > __ Do you

Re: [PHP] Re: classes v. functions

2003-07-19 Thread olinux
I'm quite new to OOP myself, but these two articles helped my understanding a lot See the sidebar - Classes and Object Oriented Programming http://webreference.com/perl/xhoo/php1/5.html Taking PHP the OO way http://phpmag.net/itr/online_artikel/psecom,id,284,nodeid,114.html olinux --

RE: [PHP] osCommerce and modifications

2003-07-19 Thread olinux
without any template system. olinux --- Edward Peloke <[EMAIL PROTECTED]> wrote: > thanks Richard, I will take a look. osCommerce does > a create job of > creating an online marketplace. The problem is to > add items, you need to go > through the admin pages. We need to be

Re: [PHP] Associative to Numeric

2003-08-14 Thread olinux
http://www.php.net/array_values http://www.php.net/array_keys --- Gerard Samuel <[EMAIL PROTECTED]> wrote: > What would be the quickest, most reliable means to > convert an > associative array to a numeric array. > Running an implode()/explode() combination comes to > mind, but > reliablity can

Re: [PHP] email confirmation script

2003-08-14 Thread olinux
Read the manual notes for mail() and find out how to send html messages. www.php.net/mail or better - just send a text message make your link shorter though so the link won't break. olinux --- Anthony Ritter <[EMAIL PROTECTED]> wrote: > This is what I receive via e-mail after I

Re: [PHP] google style paginating

2003-08-21 Thread olinux
PEAR::DB_Pager is a good example of how to do this. The getData function is all you need. http://pear.php.net/DB_Pager http://cvs.php.net/co.php/pear/DB_Pager/Pager.php?login=2&r=1.4 olinux --- Ted Conn <[EMAIL PROTECTED]> wrote: > Hi I am new to this newsgroup and I plan on repl

Re: [PHP] PHP Project for a newbie (me) or for hire?

2003-03-17 Thread olinux
This might be helpful as well. http://www.databaseanswers.com/data_models/hotels/index.htm olinux --- Dan Sabo <[EMAIL PROTECTED]> wrote: > Hi, > > I have a huge potential project and I'm fairly new > to PHP. I've been > managing shopping carts for years for

Re: [PHP] User Authentication

2003-03-18 Thread olinux
ter("ses_level"); All $_SESSION entries are automatically registered. See the following for more info http://us2.php.net/manual/en/security.registerglobals.php http://us2.php.net/manual/en/function.session-register.php olinux --- shaun <[EMAIL PROTECTED]> wrote: > >

Re: [PHP] Cleaning user data

2003-03-19 Thread olinux
You can also use basic functions like is_numeric() [to make sure the value is numeric - duh] or a custom function to do something like check for a valid email address format. I have a news site that explodes the URL to get values for the directory/article it is supposed to display. since the types

Re: [PHP] Select email addresses from MySQL

2003-03-21 Thread olinux
approriate matches. olinux --- Tim Thorburn <[EMAIL PROTECTED]> wrote: > Hi, > > A few days ago I posted a question about sending > mass emails through PHP - > the good news is I've got my script sending an email > to each address stored > in my MySQL database.

[PHP] Re: [PHP-DB] Making tree menu

2003-03-20 Thread olinux
0,00.html -> http://searchdatabase.techtarget.com/tip/1,289483,sid13_gci801943,00.html olinux --- Daniel Harik <[EMAIL PROTECTED]> wrote: > > Hello guys > > I make following query: > > mysql> SELECT b.type, a.link AS parent_link, b.link > AS child_link FROM &

Re: [PHP] webeditor

2003-03-29 Thread olinux
Here's another that was posted recently. looks cool. http://www.interactivetools.com/products/htmlarea --- Miles Thompson <[EMAIL PROTECTED]> wrote: > > http://www.editworkspro.com/index.php > > I've not used it, and it requires IE - but the demo > was impressive. > Miles > > > At 11:21 AM 3

Re: [PHP] Nested select options from database.

2003-04-02 Thread olinux
example/?ex=290&mode=2 http://www.jsexamples.com/example/?ex=728&mode=2 http://www.jsexamples.com/example/?ex=536&mode=2 http://www.jsexamples.com/example/?ex=458&mode=2 olinux __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators,

Re: [PHP] Administration packages

2003-06-05 Thread olinux
I'm sure you are already aware of PEAR, if you havent checked it out, you should olinux > > Hey everyone, > > > > I find myself building alot of admin control > areas, or in otherwords, a > > group of forms that lets an end user control data > and appeara

Re: [PHP] Search Engines and Last-Modified Header (was: Variables don't pass...)

2003-05-29 Thread olinux
uot;earlier" than the one already indexed it does not get indexed? olinux > On Wed, 28 May 2003 09:31:11 -0500, Jay Blanchard > wrote: > > >I wouldn't go as far as using the > auto_prepend_file. > > Neither would I in this case Jay.It was simply > an exampl

Re: [PHP] Help about these algorithm methods

2003-05-31 Thread olinux
Here's an article that covers tree and stack http://www.evolt.org/article/Four_ways_to_work_with_hierarchical_data/17/4047/index.html olinux --- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello all, > > I need help about to implement these methods in PHP: &

Re: [PHP] Classes vs. functions?

2003-06-03 Thread olinux
Here is an excellent article describing classes/objects - what they are and are not. http://phpmag.net/itr/online_artikel/psecom,id,284,nodeid,114.html olinux > > Can someone please explain to me when is a class > useful over a set of > > functions? __

Re: [PHP] getting file contents

2003-06-11 Thread olinux
em note: whatever you include will be parsed if it has php tags, regardless of the file extension olinux --- Matt Palermo <[EMAIL PROTECTED]> wrote: > I have text a file which contains php code. I am > using it as a template for some other pages. I want > to take everything in

Re: [PHP] shopping cart and login system

2003-06-14 Thread olinux
hi --- electroteque <[EMAIL PROTECTED]> wrote: > hi there , i am about to build a shopping cart which > will interact with a > paypal payment system , the cart will use sessions > to store the items and > basket information before checking out and posting > to the paypal form , what > i'd like to

Re: [PHP] php.net's custom 404 scripts

2003-06-29 Thread olinux
http://www.phpbuilder.com/columns/tim2526.php3 olinux --- Justin French <[EMAIL PROTECTED]> wrote: > Hi all, > > I used to have a bookmark for how php.net's custom > 404/redirect/search > script worked, but I can't find it now, and can't > see it on php.net...

Re: [PHP] PHP Toolbar for Homesite...

2002-08-29 Thread olinux
#x27;]; $value3 = $row['']; } olinux --- Matt Zur <[EMAIL PROTECTED]> wrote: > I made a php toolbar for Homesite v5. It's > currently at v1.0 right now, > but I'm looking for any suggestions anyone might > have for the next version. > > http://zurnet.com/dl/hsp

Re: [PHP] Re: str_replace question

2002-09-01 Thread olinux
something like this should do foreach ($reserved_words as $key => $value) { $reserved_words_bold[$key] = ''.$value.''; } $string = str_replace($reserved_words, $reserved_words_bold,$string); olinux --- Gregor J <[EMAIL PROTECTED]> wrote: > Same as with

Re: [PHP] Good free PHP web stats package?

2002-09-04 Thread olinux
Webalizer is a fairly popular package, even used by a few fortune 500's if I remember correctly. Not PHP but fast and free. http://www.webalizer.com/ olinux --- tomba <[EMAIL PROTECTED]> wrote: > I have a client that is hosted with a company that > has a rather lame web >

[PHP] Stock Market data - where can I get it?

2002-09-07 Thread olinux
hanks, olinux __ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] question about $_GET, etc

2002-09-12 Thread olinux
You need to turn register_globals off in your php.ini file. This is default in php 4.2+ Try this article for a great overview: http://www.webmasterbase.com/article/758/8 olinux --- swade <[EMAIL PROTECTED]> wrote: > On my laptop i still have 4.11 apache,linux on it > but

RE: [PHP] can you recommned a simple banner rotator in PHP

2002-09-12 Thread olinux
I'll second that - It's a truly professional solution. [even has a full user manual] Here are a couple articles you might want to checkk out: http://www.devarticles.com/content.php?articleId=126&page=1 http://www.devshed.com/Server_Side/PHP/CommercialBreak/page1.html olinux -

Re: [PHP] can you recommend PHP shopping cart

2002-09-18 Thread olinux
features and new contributions daily. olinux --- "Peter J. Schoenster" <[EMAIL PROTECTED]> wrote: > Hi, > > Looking for a shopping cart. I've written plenty in > the past but in > Perl. I'm looking for one in PHP and I don't want to > write my own.

Re: [PHP] reuse database connections

2002-09-18 Thread olinux
When you create a connection it is available to the end of the script run. You can run as many queries as you wish in the script and all will use the same connection. If you wish for multiple accesses to use the same connection, I think you will have to use persistent connections. olinux

Re: Re[2]: [PHP] counting words in a string

2002-09-28 Thread olinux
wouldn't it be easier and more efficient to simply count the number of spaces in the string (and add 1)? using substr_count or something similar olinux --- Justin French <[EMAIL PROTECTED]> wrote: > You need to look at a few options... one is regular > expression (not my >

Re: [PHP] submitting a form to multiple places!!!

2002-10-02 Thread olinux
?something=123&something=456'; $fp = fopen ("c:\\data\\info.txt", "r"); - then my script continues to insert info an output confirmation message olinux --- Henry <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a problem that I hope you can he

Re: [PHP] submitting a form to multiple places!!!

2002-10-02 Thread olinux
If you need something more complex look into CURL as suggested earlier http://curl.haxx.se/ http://www.php.net/curl olinux --- olinux <[EMAIL PROTECTED]> wrote: > Here's what I do. > > We have an outsourced email newsletter management > system that accepts GET method

Re: [PHP] php code in templates... how to?

2002-10-03 Thread olinux
eval() should work for you http://www.php.net/eval You also may want to consider including files coded something like this: Then you just set the values for the vars in your code - include the file. Josh --- Hendrik Daldrup <[EMAIL PROTECTED]> wrote: > Hi, > > i am working with tem

RE: [PHP] CC Processing Merchants

2002-10-09 Thread olinux
You can find a lot of good information and comparisons here: http://www.merchantworkz.com olinux > > -Original Message- > From: Andrew Brampton > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 10 October 2002 9:49 AM > To: [EMAIL PROTECTED] > Subject: [PHP] CC

Re: [PHP] PHP caching ideas?

2002-10-14 Thread olinux
Smarty template will allow you to cache certain pieces. http://smarty.php.net olinux --- Krzysztof Dziekiewicz <[EMAIL PROTECTED]> wrote: > > Is the general logic to slice the page into some > general pieces. For example > > ones that have always general data and those th

Re: [PHP] Adding Content Management to live site

2002-10-24 Thread olinux
hives pages is pretty much cake work. A simple query will grab todays news, the past week, a month from 2000 or whatever. You can email me if you'd like some code pieces. olinux --- Maxim Maletsky <[EMAIL PROTECTED]> wrote: > > You could leave the site links the way they are b

Re: [PHP] Sample Meeting Management System

2002-10-29 Thread olinux
Try these http://www.hotscripts.com/PHP/Scripts_and_Programs/Groupware_Tools/ http://www.hotscripts.com/search/?query=meeting&category=php olinux --- Faisal Abdullah <[EMAIL PROTECTED]> wrote: > Hi people, > > Do you know where I can look at a free meeting > management

Re: [PHP] Multiple Addresses Mailer

2002-10-30 Thread olinux
The best solution would probably be to send each email by itself or do the actual sending thru a mailing list program. BCC works great, but a lot of spam filters will catch it - plus some shared servers have a limit on the number of BCC's on a single mail piece. olinux --- Rick Emery &l

Re: [PHP] Multiple Addresses Mailer

2002-10-31 Thread olinux
f filters are tipped off by a high volume of BCC's ... olinux __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Geographic IP location

2002-11-02 Thread olinux
http://www.serviceobjects.com/products/dots_ipgeo.asp Thanks for any input, olinux __ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.ph

Re: [PHP] Geographic IP location

2002-11-02 Thread olinux
This is a great class, but NetGeo uses only whois records, I think that the more accurate solutions also use some sort of ip domain name analyisis to find city location. Thanks, olinux --- Jason Reid <[EMAIL PROTECTED]> wrote: > http://www.phpclasses.org/netgeoclass > > tha

Re: [PHP] Re: WAP resources for PHP

2002-11-07 Thread olinux
w of - includes a validator http://www.w3schools.com/wap/ olinux --- [EMAIL PROTECTED] wrote: > Well, PHP and WAP are fully compatible. You just > need to ouput PHP in a wap > format and not html. You should learn the wap tags > in w3c.org. > > -- > > M.CHAILLAN Nicolas > [EMAI

Re: [PHP] data verification trough _POST arrays

2002-11-07 Thread olinux
d? > what is the correct method for save > _POST in _SESSION > variables, so the values can be preserved for later > retrieval? $_SESSION['fieldname'] = $_POST['fieldname']; olinux __ Do you Yahoo!? U2 on LAUNCH

Re: [PHP] Online Booking System/Framework question

2002-11-10 Thread olinux
Lots of good ideas here: http://www.databaseanswers.com/data_models/index.htm olinux --- Steve Purkiss <[EMAIL PROTECTED]> wrote: > Hi all, > > I wrote a site a while back which has a booking > system for event guest > lists. It was my first venture into PHP, and now >

Re: [PHP] Formatting XML Data

2002-06-10 Thread olinux
Check out these articles at DevShed http://www.devshed.com/Server_Side/XML/XMLwithPHP/ olinux --- Dan Hardiker <[EMAIL PROTECTED]> wrote: > > I would like some of the text to be > > bold, or maybe I would like to insert a > hyper-link. Unfortunately it > > does

Re: [PHP] Re: phpmyadmin - moving data from one database to another

2002-06-18 Thread olinux
27;"' LINES TERMINATED BY "\n" FROM test_table; It will write the data to a delimited file - then upload this file to new server and use LOAD DATA INFILE much the same way SELECT INTO OUTFILE http://www.mysql.com/doc/S/E/SELECT.html LOAD DATA INFILE http://www.mysql.com/do

Re: [PHP] Architecture problem? Google want index files exept the main page.

2002-06-21 Thread olinux
Are you using a 404 error to generate those deeper pages? If so you will want to send an OK header: header('HTTP/1.1 200 OK'); olinux --- Andy <[EMAIL PROTECTED]> wrote: > Hi guys, > > I did recently launch my first web site and I am > asking myself why google

Re: [PHP] Architecture problem? Google want index files exept the main page.

2002-06-21 Thread olinux
cript 'news' (with no extension) and use the apache's ForceType to force this file to be parsed. url is something like this website.com/news/category/year/month/day/article_id.htm - check out Tim Perdue's article on www.phpbuilder.com olinux --- Andy <[EMAIL PROTECTED]> w

Re: [PHP] php & SMS (or phone contact)

2002-07-01 Thread olinux
sends msg to your phone olinux --- Duncan <[EMAIL PROTECTED]> wrote: > Hi again, > > thx for the replies. > Well, nagios ... quite a story ... anyway, i spent > more than 3-4 hours and still didn't get it to work. > Maybe i should look into it again, if it support

Re: [PHP] Re: PHP: Script Security: Best coding practices

2002-07-07 Thread olinux
A little off your request, but may be of interest: Top 21 PHP Programming Mistakes from Zend.com http://www.zend.com/zend/art/mistake1.php http://www.zend.com/zend/art/mistake2.php olinux > On 07/04/2002 02:24 AM, Jean-Christian Imbeault > wrote: > > I am trying to figure out w

[PHP] Single website Unix + Windows servers

2002-07-11 Thread olinux
I am working on integrating our current website to apache/redhat/php/mysql Due to a recent investment in an ASP project I must have the windows / SQL server machine running this application. Any suggestions to keeping the site 'seamless' or ideas that will help Thank you, olinux

Re: [PHP] Customise Index page using PHP????

2002-07-12 Thread olinux
you can change a setting in apache that will do that - add 'Indexes' to the Options line under olinux --- Craig <[EMAIL PROTECTED]> wrote: > Is there a way to create a customised version of the > index directory > structure using php? > > Eg listing all the

[PHP] PHP install - what features?

2002-07-13 Thread olinux
nable-safe-mode -with-exec-dir --with-apache Thanks much, olinux __ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Credit Card Processing - Take Two

2002-07-15 Thread olinux
www.x-cart.com looks like a good and inexpensive option - I will be implementing it soon, but I have not tried it yet. Anyone used x-cart? Thanks, olinux --- Daniel Guerrier <[EMAIL PROTECTED]> wrote: > > Can anyone recommend a good and cheap shopping cart > and credit

Re: [PHP] Cleaning up my messy code

2003-09-29 Thread olinux
organized. i.e. $article['id'], $article['title'], $article['publish_date'], $article['author'], $article['content'] rather than $id, $title, $publish_date, $author, $content olinux --- Chris <[EMAIL PROTECTED]> wrote: > I am working on a

Re: [PHP] hotscripts style program

2003-10-04 Thread olinux
here's a decent article outlining how to build a directory. including code samples: http://www.webreference.com/perl/xhoo/php1/ olinux --- Marek Kilimajer <[EMAIL PROTECTED]> wrote: > You need to create a recursive function: > > // pseudo code > function count_content($c

Re: [PHP] Choosing a CMS?

2003-10-19 Thread olinux
Check out this site for live demos of several different cms projects http://www.opensourcecms.com. olinux --- Joel Konkle-Parker <[EMAIL PROTECTED]> wrote: > I'm looking for an open source PHP/MySQL CMS that I > can use as the > backend to my website. > > My site

Re: [PHP] Code optimization: single vs. double quotes?

2003-10-24 Thread olinux
> No special chars or vars: > echo ' '; > > For cases with vars and special chars, I think these > look terrible: > echo ' '; I'm a fan of this style - works great with syntax highlighting in homesite. olinux > echo " ";

RE: [PHP] Code optimization: single vs. double quotes?

2003-10-24 Thread olinux
yle through a big app, it's a huge pain (waste of time) to make any changes. olinux __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] High bandwidth application tips

2003-11-05 Thread olinux
backend processes. (not saying you should not be performance focused on the backend as well.) olinux __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Sessions within new windows

2003-11-05 Thread olinux
lar problem on a php based system I use. I don't know what their code looks like. I think its an IE issue though - windows update always fixes the problem for me. http://windowsupdate.microsoft.com olinux __ Do you Yahoo!? Protect your identity with Yahoo!

Re: [PHP] Need a nicer way to escape single/double quotes....

2003-11-13 Thread olinux
to edit/add/read html code that's not polluted with escaped quotes Syntax highlighting makes it easier to spot "variables" $bob_age = time() - $birthday_timestamp; $test1 = 'The kid's name is "Bob!"'; $test2 = 'He is '.$bob_age.' seconds old'; olinux __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LAMP jobs

2003-11-20 Thread olinux
For $$$ or for the love? here's a start: For the $$$ http://www.elance.com http://www.scriptlance.com http://www.rentacoder.com For the love? sourceforge.net freshmeat.net pear.php.net olinux --- Susan Ator <[EMAIL PROTECTED]> wrote: > It seems like this question came up be

RE: [PHP] looking for some software (helpdesk, intranet)

2003-11-24 Thread olinux
(wiki) http://tavi.sourceforge.net/WikiTikiTavi InvisionBoard (forums) http://www.invisionboard.com Probably will try out XOOPS or something like that as well. olinux --- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > Jason Wong <mailto:[EMAIL PROTECTED]> >

RE: [PHP] User/Pwd Management Package?

2003-11-25 Thread olinux
ithin those areas, rights that imply other rights... really cool. Check out the feature list on the project homepage. http://projects.21st-hq.de/liveuser/ I like this class a lot, just not sure I'm a PEAR fan (unecessary overhead). It's definitely worth checking out though. olinux __

Re: [PHP] Re: Building a query string

2003-12-03 Thread olinux
s") { $where[] = 'fireplace = 1'; } if (isset($_POST['garage'])) { $where[] = 'garage = "'.addslashes($_POST['garage']).'"; } $limit_clause = ' LIMIT 0,15 '; if (count($where)) { $where_clause = ' WHERE '.impl

Re: [PHP] new set of eyes?

2003-12-06 Thread olinux
try this: $ar = array(); while ($row = mysql_fetch_assoc($sql)) { $ar[] = $row; } olinux --- Jas <[EMAIL PROTECTED]> wrote: > I think I am loosing my mind this afternoon... could > someone review this > snippit and tell me why it isn't working? > > $sql = m

Re: [PHP] restrict access to multiple pages

2003-12-09 Thread olinux
uthentication olinux --- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > Hey y'all. > > Ok so I am working on the admin sectin of the > e-commerce app I'm writing > and I'm hoping there's a better way to do what I am > currently doing. > >

Re: [PHP] searching and replacing in a file

2003-12-15 Thread olinux
failed'; exit; } fclose($handle); also - there's no need to enclose the variable $file in quotes here: > $fp = fopen("$file", "w+"); olinux --- Richard Kurth <[EMAIL PROTECTED]> wrote: > How can I read through a file and find a

  1   2   >