Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote: Its been my experience that meta tags work better. I guess what you are saying is that this: content="0;url=https://www.theNewUrl/forward.html";> Is better than this: header("Refresh: 0; URL=https://www.theNewUrl/forward.html";); -- PHP Gene

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 11:35 PM, Aaron Koning wrote: I have found that using the header function doesn't actually redirect the page, it pulls the content into the page that the function is called from (which works good for somethings, but can get confusing with post variables and such). Its been m

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Robert Cummings
On Sat, 2005-12-10 at 02:35, Aaron Koning wrote: > I have found that using the header function doesn't actually redirect the > page, it pulls the content into the page that the function is called from > (which works good for somethings, but can get confusing with post variables > and such). Its bee

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Aaron Koning
I have found that using the header function doesn't actually redirect the page, it pulls the content into the page that the function is called from (which works good for somethings, but can get confusing with post variables and such). Its been my experience that meta tags work better. Aaron On 12

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 11:07 PM, matt VanDeWalle wrote: I am wanting to forward a user on a signup or similar page (based on a few of their answers) and so far i have it split into basically a two-step process where i have on the first part, an option list with 4 choices, they hit continue or some

Re: [PHP] simple-ish question but something i never knew

2005-12-09 Thread Robert Cummings
On Sat, 2005-12-10 at 02:07, matt VanDeWalle wrote: > I am wanting to forward a user on a signup or similar page (based on a few > of their answers) and so far i have it split into basically a two-step > process where i have on the first part, an option list with 4 choices, > they hit continue

[PHP] simple-ish question but something i never knew

2005-12-09 Thread matt VanDeWalle
I am wanting to forward a user on a signup or similar page (based on a few of their answers) and so far i have it split into basically a two-step process where i have on the first part, an option list with 4 choices, they hit continue or some such labled link, and then having passed all the se

Re: [PHP] how to pass an array to Java script

2005-12-09 Thread Robert Cummings
On Fri, 2005-12-09 at 23:30, Johny John wrote: > Hi, > How to pass an array (from php ) to java script and display it > using javascript?... This might be helpful: http://www.interjinn.com/jinnDoc/interjinn.class.JinnJavaScriptService.phtml#method.createDeclaration Cheers, Rob. -- .--

Re: [PHP] how to pass an array to Java script

2005-12-09 Thread Johny John
Sorry foe yhe inconvenience... Script is given below.. $name = $_GET['photo']; $id = $_GET['ga_id']; $objGA = new Gallery_Album($db); $objError = $objGA->getAlbum($id); $y = unserialize($objError['ga_images']); echo ""; $count = count($y); function getArray($count) { for ($i = 0; $i <

Re: [PHP] CSS and Tables

2005-12-09 Thread Stephen Leaf
On Friday 09 December 2005 21:53, Chris wrote: > I believe, for IE (though I haven't tested it) this would work: > > table.table1 > tbody > tr > td { css here; } How I wish this would work. it doesn't handle the parent>child at all. I've tested it. found it to be good to use to -fix- other problem

Re: [PHP] [JOB] MySQL/PHP Engineer, Los Angeles, CA

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 10:41:15PM -0600, Beau Gould wrote: > [JOB] MySQL/PHP Engineer, Los Angeles, CA > http://www.superiorss.com/jobs.htm Consider what would happpen if everone on this list would decide to post their resume? You know what would happen? My resume would be better than anyone.

Re: [PHP] how to pass an array to Java script

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 08:30:51PM -0800, Johny John wrote: > Hi, > How to pass an array (from php ) to java script and display it > using javascript?... What is your array? What do you expect your script to do? What context is this to be outputed to? Sorry, i had to pull a 'Jay Blanc

Re: [PHP] how to pass an array to Java script

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 8:30 PM, Johny John wrote: Hi, How to pass an array (from php ) to java script and display it using javascript?... Jasus. Well, FWIK, Here is how you pass a variable: document.write(picUrl); So, if y

Re: [PHP] CSS and TablesL

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 10:38:12PM -0500, Michael B Allen wrote: > On Fri, 9 Dec 2005 19:07:36 -0800 > Curt Zirzow <[EMAIL PROTECTED]> wrote: > > > On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > > > This question is a little OT but no doubt everyone and their brother is > > > g

[PHP] how to pass an array to Java script

2005-12-09 Thread Johny John
Hi, How to pass an array (from php ) to java script and display it using javascript?... Jasus.

Re: [PHP] CSS and Tables

2005-12-09 Thread Michael B Allen
On Fri, 9 Dec 2005 19:07:36 -0800 Curt Zirzow <[EMAIL PROTECTED]> wrote: > On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > > This question is a little OT but no doubt everyone and their brother is > > generating tables here so heres my question. > > well, i try to only use tabl

[PHP] [JOB] MySQL/PHP Engineer, Los Angeles, CA

2005-12-09 Thread Beau Gould
[JOB] MySQL/PHP Engineer, Los Angeles, CA http://www.superiorss.com/jobs.htm -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.13.13/195 - Release Date: 12/8/2005 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

Re: [PHP] CSS and Tables

2005-12-09 Thread Chris
I believe, for IE (though I haven't tested it) this would work: table.table1 > tbody > tr > td { css here; } I think IE assumes a tbody, even when there isn't one specified. table.table1 td { css here; } Would also do fairly well, but , since this would apply to all tds within the table tag (

Re: [PHP] CSS and Tables

2005-12-09 Thread Stephen Leaf
Not IE friendly but you could always do table.table1>tr>td { css here; } IE will simply ignore it.. even if you set other rules that it _does_ understand. :) On Friday 09 December 2005 21:07, Curt Zirzow wrote: > On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > > This question

Re: [PHP] CSS and Tables

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 08:42:14PM -0600, Afan Pasalic wrote: > table, tr, th, td, p, { (note there is no dot in front of the class name!) > font-size: small; > border-bottom: 1px lightgrey solid; > border-right: 1px lightgrey solid; > } > > and yo don't ned to add class=t any mo

Re: [PHP] CSS and Tables

2005-12-09 Thread Michael B Allen
On Fri, 9 Dec 2005 20:42:14 -0600 Afan Pasalic <[EMAIL PROTECTED]> wrote: > table, tr, th, td, p, { (note there is no dot in front of the class name!) > font-size: small; > border-bottom: 1px lightgrey solid; > border-right: 1px lightgrey solid; > } > > and yo don't ned to add c

Re: [PHP] CSS and Tables

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 09:16:32PM -0500, Michael B Allen wrote: > This question is a little OT but no doubt everyone and their brother is > generating tables here so heres my question. well, i try to only use tables when I present tabular data, i wonder mabey if i'm a cousin or something. And, ye

Re: [PHP] CSS and Tables

2005-12-09 Thread Afan Pasalic
table, tr, th, td, p, { (note there is no dot in front of the class name!) font-size: small; border-bottom: 1px lightgrey solid; border-right: 1px lightgrey solid; } and yo don't ned to add class=t any more :) similar for input, body, p, a... -afan On Friday 09 December

[PHP] CSS and Tables

2005-12-09 Thread Michael B Allen
This question is a little OT but no doubt everyone and their brother is generating tables here so heres my question. I'm a little frustrated with CSS. Sure I can define styles for TH, TD, and so on. But mildly sophisticated pages are buried in tables within tables. Specifying global styles for the

Re: [PHP] Forwarding $_POST Values... please no flaming

2005-12-09 Thread Curt Zirzow
On Fri, Dec 09, 2005 at 03:36:59PM -0500, [EMAIL PROTECTED] wrote: > Ok.. not one bit of this was necessary guys. Please take it off-list if you > have personal problems that need resolving. What is ironic is that you just took it onto the list. Curt. -- cat .signature: No such file or directo

RE: [PHP] Forwarding $_POST Values WAY OT

2005-12-09 Thread Robert Cummings
On Fri, 2005-12-09 at 15:40, Jay Blanchard wrote: > ROFLMMFAO! I'm jest curious here... is that extra 'M' for massive? :B Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :---

Re: [PHP] Forwarding $_POST Values

2005-12-09 Thread Zack Bloom
Guys just stop. This should be the last post regarding this. On 12/9/05, John Nichel <[EMAIL PROTECTED]> wrote: > > vizion wrote: > > > Well if you were not rude then you certainly are now - > > Too much correspondence with you in that vein could contaminate the > > environment. > > You should

Re: [PHP] PHP, MySQL and XML for IPodCasting

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 1:45 PM, Danny wrote: Simply Fantastic!. Thanks a lot! Sure thing, I am glad that I was able to help/give you some ideas. :) So for me the best solution I think, would be to read the MySQL Table, and produce the XML with a given template from a PHP Script. I will use Sche

[PHP] Socket Select()

2005-12-09 Thread will
Hi, I'm working on writing a multi-client socket server and have a question about the socket_select() function. I've read through lots of example source on the web using BSD sockets and select(). For some reason none of them ever populate the write fd set.They only populate the read fd set.

Re: [PHP] PHP, MySQL and XML for IPodCasting

2005-12-09 Thread Danny
Simply Fantastic!. Thanks a lot! So for me the best solution I think, would be to read the MySQL Table, and produce the XML with a given template from a PHP Script. I will use Scheduled Task instead of CRON... (Sorry, working on windows ;-) ) [Off topic] Could it be tested without an IPod device

Re: [PHP] Forwarding $_POST Values

2005-12-09 Thread John Nichel
vizion wrote: Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. You should take your act on the road. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] Yes, all requested module is put on same folder which module which succesfully load. But, I don't understand why they say the module is not found? What operating system are you using? {/snip] Sorry, found the original post. Can you send the snippet for the php.ini where you set the exten

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] Yes, all requested module is put on same folder which module which succesfully load. But, I don't understand why they say the module is not found? [/snip] What operating system are you using? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/uns

RE: [PHP] List Usage WAS Forwarding $_POST Values

2005-12-09 Thread Jay Blanchard
[snip] Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? BTW I suggest you use a dictionary if you cannot u

RE: [PHP] Forwarding $_POST Values WAY OT

2005-12-09 Thread Jay Blanchard
[snip] Well if you were not rude then you certainly are now - Too much correspondence with you in that vein could contaminate the environment. Also sounds like you have a few prejudices to grow out of .. who would you like to be when you grow up? BTW I suggest you use a dictionary if you cannot u

RE: [PHP] Forwarding $_POST Values... please no flaming

2005-12-09 Thread tg-php
Ok.. not one bit of this was necessary guys. Please take it off-list if you have personal problems that need resolving. Yeah.. people do join the list and expect to have their hands held through everything, or expect others to solve all their problems, but if the question offends you, it's bet

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread vizion
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Friday, December 09, 2005 12:22 PM > To: 'B.D.' > Cc: PHP General (E-mail) > Subject: RE: [PHP] Forwarding $_POST Values > > [snip] > Wow...what a helpful answer! Thankfully, other people responded to > the guy

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread Jay Blanchard
[snip] Wow...what a helpful answer! Thankfully, other people responded to the guys question and didn't come off like smug pricks! [/snip] Been on mailing lists long? Who the fuck are you to critisize me buttwad? Probably some new, politically correct panty-waist who says Happy Holidays because

Re: [PHP] static functions w/ PHP 4?

2005-12-09 Thread Robert Cummings
On Fri, 2005-12-09 at 14:48, Michael B Allen wrote: > Is there any way to have static functions and members of an Object w/ PHP > 4.3? Like: > > class Auth { > static var error; > > static function authenticate() { > ... > } > } > > Auth::authenticate(); > > ?

[PHP] static functions w/ PHP 4?

2005-12-09 Thread Michael B Allen
Is there any way to have static functions and members of an Object w/ PHP 4.3? Like: class Auth { static var error; static function authenticate() { ... } } Auth::authenticate(); ? The documentation suggests this is possible but I can't seem to make it work.

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread tg-php
And if for some reason that's not viable, you can simulate a real POST method by using a socket connection and manually sending the POST variables. Take a look at this script: http://www.flashkit.com/board/history/topic.php/384942-1.html That looks about right (sorry, no time to test myself.. bu

Re: [PHP] Forwarding $_POST Values

2005-12-09 Thread Bernhard Janetzki
On Friday 09 December 2005 20:31, Jim Moseby wrote: > > I have a server with all my clients websites on. However I > > have some clients > > who have their own servers. I want to be able to have a form > > on my site that > > allows users to log into their webmail, however if the client > > has the

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread Jim Moseby
> > I have a server with all my clients websites on. However I > have some clients > who have their own servers. I want to be able to have a form > on my site that > allows users to log into their webmail, however if the client > has their own > server I need to forward the $_POST values to

RE: [PHP] Forwarding $_POST Values

2005-12-09 Thread Jay Blanchard
[snip] I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login scrip

[PHP] Forwarding $_POST Values

2005-12-09 Thread Shaun
Hi, I have a server with all my clients websites on. However I have some clients who have their own servers. I want to be able to have a form on my site that allows users to log into their webmail, however if the client has their own server I need to forward the $_POST values to a login script

Re: [PHP] Create Image From HTML

2005-12-09 Thread tg-php
As Jochem mentioned, you can use the 'onclick' event to trigger some JS when a user clicks on something. I wanted to add that you may be able to use the 'innerHTML' property to get the HTML contained within the area clicked too. It sounds like you're saying that the user clicks on a table and t

Re: [PHP] Create Image From HTML

2005-12-09 Thread Jochem Maas
Shaun wrote: Hi, I am trying to create a Content Management System where users can click on various parts of a page and the content is displayed in a JavaScript text editor. For each tag I intend to wrap a link () around it. This works fine for tags but I cant put a link around a tag becaus

Re: [PHP] get XSLT on server without Sablotron

2005-12-09 Thread Stephen Leaf
should come default with PHP5 http://www.php.net/manual/en/ref.xsl.php On Friday 09 December 2005 07:56, Gerben wrote: > Is there a way to get some sort of XSLT working on my server? > > safe-mode is off > run under apache (php_sapi_mode=apache) > dl() is enabled > I only have FTP access > server

RE: [PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
Yes, all requested module is put on same folder which module which succesfully load. But, I don't understand why they say the module is not found? I hope, you can help me Thanks From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Fri 09-Dec-2005 23:

[PHP] get XSLT on server without Sablotron

2005-12-09 Thread Gerben
Is there a way to get some sort of XSLT working on my server? safe-mode is off run under apache (php_sapi_mode=apache) dl() is enabled I only have FTP access server runs under linux Can I download "sablotron.so" somewhere an load it using dl() ??? Is there some PHP code that can transform XML usi

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] It's done ... But it was create errror like this PHP Startup: unable to load dynamic library 'c:\php\ext\php_mysqli.dll' - The specified module could not found. I was re-check to ensure php_mysqli.dll is on c:\php\ext and used from same source... [/snip] Any of the modules that you want to

RE: [PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
It's done ... But it was create errror like this PHP Startup: unable to load dynamic library 'c:\php\ext\php_mysqli.dll' - The specified module could not found. I was re-check to ensure php_mysqli.dll is on c:\php\ext and used from same source... Thanks From

Re: [PHP] PKCS#5 padding

2005-12-09 Thread Robin Vickery
U I made a mistake in the second test for validity in the unpad function. It should be this: function pkcs5_unpad ($text) { $pad = ord($text{strlen($text)-1}); if ($pad > strlen($text)) return false; if (strspn($text, chr($pad), strlen($text) - $pad) != $pad) return false; return s

RE: [PHP] Problem on Instalation ~ several module unable to downl oad

2005-12-09 Thread Jay Blanchard
[snip] here is my last list of module which bale to load and unable to load excerpt php.ini extension=php_mbstring.dll ;extension=php_bz2.dll extension=php_cpdf.dll ;extension=php_curl.dll extension=php_dba.dll extension=php_dbase.dll extension=php_dbx.dll ;extension=php_exif.d

RE: [PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
here is my last list of module which bale to load and unable to load excerpt php.ini extension=php_mbstring.dll ;extension=php_bz2.dll extension=php_cpdf.dll ;extension=php_curl.dll extension=php_dba.dll extension=php_dbase.dll extension=php_dbx.dll ;extension=php_exif.dll ;ext

RE: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Jim Moseby
> > For future reference, during testing, you can set your error reporting > levels ( i think) in php.ini to output a notice regarding a variable > that does not exist - would have helped you spot the error! I normally > use the Zend debugger which does quite a good job of telling me that I > am a

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Dan McCullough
I would hate to see a time clock that tabulated how many hours I wasted with typos and stupid things like that. On 12/9/05, Rory McKinley <[EMAIL PROTECTED]> wrote: > Paul Jinks wrote: > > Rory McKinley wrote: > > > >> Paul Jinks wrote: > >> > >> > >>> >>>while($ouput_row = mysql_fetc

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Rory McKinley
Paul Jinks wrote: > Rory McKinley wrote: > >> Paul Jinks wrote: >> >> >>>>>while($ouput_row = mysql_fetch_array($result)) { >>>?> >>> >> >> >> >> >> >> Paul - is this the actual code that you are using? - because you have a >> typo in your while statement - $ouput_row instead

[PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Brice
On 12/9/05, Paul Jinks <[EMAIL PROTECTED]> wrote: > Brice wrote: > > > > Try to check the key of your result row with a print_r or a var_dump > command. > > > > Brice Favre > > http://pelmel.org/ > > > > Like this? > > while($ouput_row = mysql_fetch_array($result)) > print_r($out

Re: [PHP] broken code....

2005-12-09 Thread Jochem Maas
Ben Blay wrote: I believe the difference between using =& and = is that the former passes the value by reference, though I've never been clear about the benefits of using one over the other when it comes to PEAR:DB (the PEAR:DB documentation uses =& extensively, so presumably it is the better met

RE: [PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Dan Parry
[snip] Hi Paul, Why you are closing your connection before finishing your work on the database? Zareef Ahmed [/snip] I think Zareef has spotted the most important problem here Try removing the mysql_close() and trying it Dan -Original Message- From: Paul Jinks [mailto:[EMAIL P

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Rory McKinley
Paul Jinks wrote: >> > while($ouput_row = mysql_fetch_array($result)) { >> ?> >> Paul - is this the actual code that you are using? - because you have a typo in your while statement - $ouput_row instead of $output_row - means that when you try and echo $output_row it does

Re: [PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Paul Jinks
Brice wrote: Try to check the key of your result row with a print_r or a var_dump command. Brice Favre http://pelmel.org/ Like this? Apologies if this is pathetically wrong. Like I said, I'm a total noob. The above returned no data or errors, by the way. Thanks Paul -- PHP

Re: [PHP] broken code....

2005-12-09 Thread Ben Blay
I believe the difference between using =& and = is that the former passes the value by reference, though I've never been clear about the benefits of using one over the other when it comes to PEAR:DB (the PEAR:DB documentation uses =& extensively, so presumably it is the better method). Ben On 1

[PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Brice
> Are short tags disabled? Change this line... > > > > To... > > This line seems to work : Result of -- Brice Favre http://pelmel.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Dan Parry
Hi [snip] [/snip] Try: while($ouput_row = mysql_fetch_array($result, MYSQL_ASSOC)) [snip] [/snip] You have missed the ; (semicolon) after ["projTitle"] also Dan -Original Message- From: Paul Jinks [mailto:[EMAIL PROTECTED] Sent: 09 December 2005 11:51 To: php-general@lists.php.net

[PHP] Re: PHP/MySql noob falls at first hurdle

2005-12-09 Thread Brice
On 12/9/05, Paul Jinks <[EMAIL PROTECTED]> wrote: > Hi all > > I've been asked to put simple database interactivity on an academic > site. They want users to enter a few details of their projects so other > researchers can search and compare funding etc. How difficult can that > be, I thought >

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Zareef Ahmed
Hi Paul, Why you are closing your connection before finishing your work on the database? Zareef Ahmed - Original Message - From: "Paul Jinks" <[EMAIL PROTECTED]> To: Sent: Friday, December 09, 2005 6:50 AM Subject: [PHP] PHP/MySql noob falls at first hurdle > Hi all > > I'v

[PHP] Problem on Instalation ~ several module unable to download

2005-12-09 Thread Bagus Nugroho
Hi All, Previously I always succed to instalation PHP, but currently I have strange problem as several module is unable to download(i.e : php_mysql.dll, php_mysqli.dll), while several other are succesfully download(i.e : mbstring, gd). I have re-installed or copy PHP folder from my succeded insta

Re: [PHP] Re: array carrying from one php page to another

2005-12-09 Thread Jochem Maas
Ford, Mike wrote: On 08 December 2005 16:47, Sandy Keathley wrote: ... . . $_SESSION['array'] = serialize($array); Why on earth would you want to serialize an array you're adding to the session? That's just a terrible waste of good machine cycles. terrible, very. too many hits to the

Re: [PHP] PKCS#5 padding

2005-12-09 Thread Robin Vickery
On 12/9/05, Binay(Local) <[EMAIL PROTECTED]> wrote: > Hi All > > Has anybody got the working code to apply the PKCS#5 padding to the text for > encryption. Please let me know as it seems PHP inbuilt functions do not > support this padding at all. Been worried about from past 2 days. Help me out.

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread John Nichel
Paul Jinks wrote: Hi all I've been asked to put simple database interactivity on an academic site. They want users to enter a few details of their projects so other researchers can search and compare funding etc. How difficult can that be, I thought I've built the database in MySQL and

Re: [PHP] PHP, MySQL and XML for IPodCasting

2005-12-09 Thread Michael Hulse
On Dec 9, 2005, at 3:45 AM, Danny wrote: How to proceed I recently set-up my first Podcast... Every week I have a script that grabs three MP3 files from a remote server and puts them on my own server... Then I have another script that generates the Podcast XML. I am using CRON jobs to

RE: [PHP] Migration from MySQL to MS-SQL Server

2005-12-09 Thread Thomas
Hi Behzad, It's not as easy as simply replacing the names. I went through a cycle like that myself. It is right to check your sql statements first (because 10 to 10 they will differ at some point). Be also mindful that with mssql you don't have an _insert_id() function, you would have create that

RE: [PHP] Re: array carrying from one php page to another

2005-12-09 Thread Ford, Mike
On 08 December 2005 16:47, Sandy Keathley wrote: > > I have an array $journal that I want to carry from a page (where it > > was created) to another page (a popup that shows the variables > > contents). Is this automatically available? or do I have to do > > something special to php?? > > One wa

[PHP] PHP, MySQL and XML for IPodCasting

2005-12-09 Thread Danny
Hi, I´ve got a web project that daily offers 4 o 5 mp3 files recorded by me. >From an web based interface I populate a database with titles, descripcion, images and the path for the mp3 file in the server The cuestion is I would like to offer the content for Ipod, using ipodcasting. Then I have t

[PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Paul Jinks
Hi all I've been asked to put simple database interactivity on an academic site. They want users to enter a few details of their projects so other researchers can search and compare funding etc. How difficult can that be, I thought I've built the database in MySQL and entered some dummy

Re: [PHP] Migration from MySQL to MS-SQL Server

2005-12-09 Thread Marco Kaiser
hi, you should also check your sql statements because they are maybe not compatible. Mysql have many mysql specific functions and behaviors. 2) I have not worked with MS-SQL Server before. Is there anything else which > I should keep in mind? > -- Marco Kaiser

[PHP] Re: FW: Advanced search form

2005-12-09 Thread Michelle Konzack
Thanks, I will try it out... Am 2005-12-07 09:41:20, schrieb Brent Baisley: > Here is some code that you can modify. It's design to convert a > search string into a MySQL full text search string, not sure how > different pgsql is. It adds * for word expansion where appropriate. > It assume

[PHP] PKCS#5 padding

2005-12-09 Thread Binay\(Local\)
Hi All Has anybody got the working code to apply the PKCS#5 padding to the text for encryption. Please let me know as it seems PHP inbuilt functions do not support this padding at all. Been worried about from past 2 days. Help me out. Thanks Binay

[PHP] PKCS#5 padding

2005-12-09 Thread Binay\(Local\)
Hi All Has anybody got the working code to apply the PKCS#5 padding to the text for encryption. Please let me know as it seems PHP inbuilt functions do not support this padding at all. Been worried about from past 2 days. Help me out. Thanks Binay

[PHP] Migration from MySQL to MS-SQL Server

2005-12-09 Thread AmirBehzad Eslami
Hi List, I want to re-implement a PHP-driven package named ATutor (http://atutor.ca) to work with MS-SQL Server. Currently, it works with MySQL. Unfortunately, authors of "ATutor" have not defined a class for database connectivity. In other words, they call each mysql functions directly in their

[PHP] setlocale() : missing named constant in french doc

2005-12-09 Thread Olivier BERAUD
Hi In french documentation of setlocale(), I'm searching for a named constant using LC_ALL less LC_NUMERIC but I can't find it ! When I asked for the english version of this page, I've found LC_MESSAGES but it's not in the french version... I've spent 2 hours to search why doesn't that go !

Re: [PHP] Mime-type handling

2005-12-09 Thread Manuel Vacelet
2005/12/9, Curt Zirzow <[EMAIL PROTECTED]>: > > On Thu, Dec 08, 2005 at 12:31:52PM +0100, Manuel Vacelet wrote: > > Hi all, > > > > I'm facing a bad behaviour of 'file' command used by fileinfo PECL > module > > (recommanded for mime-type checking): > > * Some Microsoft Excel documents are detected

Re: [PHP] href difference between OS's.

2005-12-09 Thread Marco Kaiser
Hi, just link directly to the specific file like Link Local the browser knows then how to handle this link. -- Marco

[PHP] Re: Just a quick regular expression question!

2005-12-09 Thread Sjoerd
Couldn't you find anything on Google, for example by searching on "regex url"? If you want to append .com to links, try using preg_replace. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php