[PHP-WIN] Go back function...

2003-03-31 Thread Afan Pasalic
Hi, I know there is sucha function, to send you back to last visited page but can't find it. Help! Afan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] uploading files

2003-03-26 Thread Afan Pasalic
Sorry, there is some part of code you don't need (as $cat_id) - I just grab it from activ file... Afan At 09:02 AM 3/26/2003 -0500, Afan Pasalic wrote: This is a code I use for uploading up to three images at same time. Works fine: $PHP_SELF = 'new_product.php'; $query = &q

Re: [PHP-WIN] uploading files

2003-03-26 Thread Afan Pasalic
This is a code I use for uploading up to three images at same time. Works fine: $PHP_SELF = 'new_product.php'; $query = "select name from categories where cat_id=$cat_id"; $result = mysql_query($query, $db) or die ('Error: wrong query'); $myrow = mysql_fetch_array($result); include('errors.php'

[PHP-WIN] resized image looks baaaaadddd

2003-03-26 Thread Afan Pasalic
Hi, just installed php 4.3.0 and enabled gdlib. Script to upload file (image) and resize it works fine but quality of resized image is bad, bad... Quality is set up to 100. I checked the same code on other server - pics are good. What could be a problem? While Installation? Or there is a bug in

[PHP-WIN] GD in PHP 4.3.0

2003-03-25 Thread Afan Pasalic
GD is now a part of PHP 4.3.0. But, do I have to make some changes in php.ini (set it up) before I start using it or it's already set up to use? I'm still getting error message: Fatal error: Call to undefined function: imagecreate() in /home/admin/resize_image.php on line 12 Afan

[PHP-WIN] Global & POST & uploading files

2003-03-25 Thread Afan Pasalic
While was working on staging server (Global On) everythign was working ok: Product name: Product Ser.#: Upload 1st image: Upload 2nd image: Upload 3rd image: But, pushing to other server (Global Off) - can't read variables $var1, $var2, $var3, actually $POST[var1], $POST[var3], $POST[va

[PHP-WIN] software for Linux

2003-03-18 Thread Afan Pasalic
Hi guys, I'm moving from Windows (HomeSite, CuteFTP, Mascon, OutlookExpress...) to Linux and need recommendation for software to use - for easy use of PHP like I had in HomeSite. Some of friends recommended CoffeeCup HTML Editor. Switching to Eudora... Thanks for any help! Afan -- PHP Windows

[PHP-WIN] Writing in txt file...

2003-02-20 Thread Afan Pasalic
Hi, I'm working on adding a new row in text file. I use file() to transfer file to array and then after recognizing the row with MARK_HERE hadd new row above the MARK row. It works fine. I use this code: $AddContent = "Content of the new line..."; $lines = file('old_content.txt'); for($i=0; $i

Re: Fw: [PHP-WIN] GD library for jpeg?

2003-01-29 Thread Afan Pasalic
Actually, you're right. They don't host on Windows. But, isn't the same GD library used on both OS? Afan - Original Message - From: Christoph Grottolo To: Afan Pasalic Sent: Wednesday, January 29, 2003 7:40 PM Subject: Re: Fw: [PHP-WIN] GD library for jpeg?

Re: [PHP-WIN] GD library for jpeg?

2003-01-29 Thread Afan Pasalic
nstead at the time... chris kranz fatcuban.com -Original Message- From: Afan Pasalic [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 12:19 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Fw: [PHP-WIN] GD library for jpeg? That would be strange

Fw: [PHP-WIN] GD library for jpeg?

2003-01-29 Thread Afan Pasalic
That would be strange - Explorer 6.0. And hosting company is pair.com - pretty high ranked hosting co. What could be the easiest way to check that, to be sure? Afan - Original Message - From: Dash McElroy To: Afan Pasalic Sent: Wednesday, January 29, 2003 7:11 PM Subject: Re: [PHP

[PHP-WIN] GD library for jpeg?

2003-01-29 Thread Afan Pasalic
I tried an example from php.net site: I'm getting some weird simbols/signs on screen (?PNG  IHDR2dt&nPLTE???é['ËtL)But, when I try to use jpeg format - getting Fatal Error. Does it mean that my hosting company doesn't have instaled GD library that support jpeg?Thanks for any help.Afan

[PHP-WIN] Dedicated servers/PHP/MySQL on WebWorkz Central

2002-12-29 Thread Afan Pasalic
Hi, does anybody has any experience with "WebWorkz Central" hosting company, PHP/MySQL support and their Dedicated servers? Can anybody compare with pair.com Thanks for any help. Afan

Fw: [PHP-WIN] PHP / MySQL Guestbook

2002-08-29 Thread Afan Pasalic
try this way: $db = mysql_connect($host, $user, $passwd); mysql_select_db($dbName, $db); $result = mysql_query("select * from gueastbook", $db); while($myrow = mysql_fetch_array($result)) { echo nl2br($myrow[message]); } - Original Message - From: Andreas Esser To: [EMAIL PRO

[PHP-WIN] skipping quotes...

2002-08-27 Thread Afan Pasalic
Hi, My information from database: We've got "the beat" I'm trying to edit using form: but in form is shown just We've got. Nothing after first quote. The quote in front of 'the' screwed everything. How can I have a whole content, with quotes in form field? Thanks for any help. Afan

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
Thanks. Well said. You're right. I agree. afan - Original Message - From: Svensson, B.A.T. (HKG) To: Afan Pasalic ; [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 1:54 PM Subject: RE: [PHP-WIN] resolution? Afan: my point is this: let the decision making proce

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
will offer, buit this way I'm going to show you how it would looks like. - Original Message - From: Corn Vollney-R7019C To: 'Afan Pasalic' ; Ross Fleming ; Svensson, B.A.T. \(HKG\) Sent: Tuesday, August 20, 2002 1:42 PM Subject: RE: [PHP-WIN] resolution? C

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
Ok. That's answer I asked. Huh! Thanks! afan - Original Message - From: Ross Fleming To: Afan Pasalic ; Svensson, B.A.T. (HKG) ; Php Win32 list Sent: Tuesday, August 20, 2002 1:36 PM Subject: RE: [PHP-WIN] resolution? The definitive point is... you can't do

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
Sorry, try then from list Thanks. - Original Message - From: Svensson, B.A.T. (HKG) To: Afan Pasalic Sent: Tuesday, August 20, 2002 1:33 PM Subject: RE: [PHP-WIN] resolution? I can't read mail directly sent to me from you: please send them in plain/text

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
Yeah,that's true! That point I forgot. Thanks. - Original Message - From: Svensson, B.A.T. (HKG) To: Php Win32 list Sent: Tuesday, August 20, 2002 1:28 PM Subject: RE: [PHP-WIN] resolution? > It's about desktop wallpapers. Before I had three links, for each > resolutio

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
Vollney-R7019C To: 'Afan Pasalic' ; David Hollister ; [EMAIL PROTECTED] Sent: Tuesday, August 20, 2002 1:27 PM Subject: RE: [PHP-WIN] resolution? Ideally, this should be invisible to the user. Use a simpler..tilable background. Use a base color from your chosen palete. Re-as

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
L PROTECTED]] > Sent: Tuesday, August 20, 2002 7:06 PM > To: Afan Pasalic; PHP Windows mailing list > Subject: RE: [PHP-WIN] resolution? > > > You don't. I'd be more than annoyed if a web site could find out details > that specific to me. The resolution o

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
bject: RE: [PHP-WIN] resolution? Links to download wallpaper or links to the same site in varying resolutions? Sounds like you have too much time on your hands. Is it really worth it? -Original Message- From: Afan Pasalic [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20,

Re: [PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
It's about desktop wallpapers. Before I had three links, for each resolution, and visitor have to click according his resolution. Now I want to give just one link and it will show to visitor (full size window) how it should look like. It will not be a "long term using resolution code"... Got it

[PHP-WIN] resolution?

2002-08-20 Thread Afan Pasalic
Hi, how an I find resolution on visitors monitor? I need, according his resolution, use different image size... afan

Re: [PHP-WIN] Checkbox/Database Issues

2002-08-15 Thread Afan Pasalic
Try this: "; // Inserting into DB depands of the way you want to do it. All results in one column or each checkbox has its own column, or... // Need more info... } else { $ChekboxCopies = array(1 => 'Copy for checkbox 1', 'Copy for checkbox 2', 'Copy for checkbox 3', 'Copy for checkbox 4',

[PHP-WIN] problem with mail - again

2002-05-23 Thread Afan Pasalic
Hi people, I started with sending a newsletter using this code and it works fine. $headers .= "From: Name - newsletter <[EMAIL PROTECTED]>\n"; $headers .= "X-Sender: <[EMAIL PROTECTED]>\n"; $headers .= "X-Mailer: PHP\n"; //mailer $headers .= "X-Priority: 3\n"; //1 UrgentMessage, 3 Normal $heade

[PHP-WIN] skipping # sign

2002-05-14 Thread Afan Pasalic
Hi people! How can I skip # in text? Inserting text with # sign in database give me just part before #. Part after is lost. Slash doesn't work. Any idea? Afan

Fw: [PHP-WIN] register_globals and php 4.2

2002-05-10 Thread Afan Pasalic
HP Warning: Undefined index: id in F:\bhdanas.com\index_ap.php on line 22 PHP Warning: Undefined index: id in F:\bhdanas.com\index_ap.php on line 23 Afan - Original Message - From: Tommy Claasens - Q Data KZN To: 'Afan Pasalic' Sent: Friday, May 10, 2002 10:15 AM S

Re: [PHP-WIN] register_globals and php 4.2

2002-05-10 Thread Afan Pasalic
My php.ini file is set as: error_reporting = E_ALL without E_NOTICE... Could be a harm if I use just E_ERRORS ? Afan - Original Message - From: Shrock, Court To: Shrock, Court ; Afan Pasalic ; [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 7:53 PM Subject: RE: [PHP

Fw: [PHP-WIN] register_globals and php 4.2

2002-05-09 Thread Afan Pasalic
I have the same problem but putting $var_name = $_GET['var_name'] didn't solve the problem. I put it on the top of the page (e.g. line no. 2) and I'm getting error: PHP Warning: Undefined index: var_name in F:\bhdanas.com\index.php on line 2 Any idea? Afan - Original Message - From:

[PHP-WIN] serialize or implode functions?

2002-04-22 Thread Afan Pasalic
Hi to all, I'm making a quiz and I want to put all answers together in one table-cell. But, I'm not sure what is better way: - using implode/explode functions keep all answers as one long string, or - serialize/unserialize answers and then put them in the table What's better and why? Thanks. A

[PHP-WIN] random elements of an array

2002-03-21 Thread Afan Pasalic
Hi, My problem is: if I have an array (e.g. 1, 2, 3, 4, 5, 6, 7, 8, 9), how I can "shake" the array and get randomized order of the same array (e.g. 5, 8, 1, 9, 3, 4, 7, 2, 6)? Thanks for any help! Afan

[PHP-WIN] Fw: please send to the list

2002-03-11 Thread Afan Pasalic
Hi, does anyone know where we can get a compiled T1lib to be able to use postcript fonts with PHP. Thanks, c

[PHP-WIN] EZ upgrade to php 4.1.1

2002-03-08 Thread Afan Pasalic
We are trying to upgrade to PHP 4.1.1 but are encountering that some variables that are not set as global are giving us records, same for constants. Does anyone know an easy way to solve this? we are running on a IIS box. Or does anyone know how to run 2 versions of PHP4 on the same server? nee

[PHP-WIN] How can PHP receive and display data from a silent POST?

2002-03-01 Thread Afan Pasalic
Hi, How can PHP receive and display data from a silent POST? Payflow Link, sends back to a URL a silent POST with $ECHODATA. Does anyone know how to show this on a page? Thanks. Afan

[PHP-WIN] any comment?

2002-03-01 Thread Afan Pasalic
"Flaws found in PHP scripting language" http://zdnet.com.com/2100-1105-847252.html Any comment? Afan

Re: [PHP-WIN] Fw: php to poup window

2002-02-28 Thread Afan Pasalic
Yup! That could be a good idea! Let me try! Thanks buddy! Afan - Original Message - From: Ryan Marrs To: 'Afan Pasalic' Sent: Thursday, February 28, 2002 4:03 PM Subject: RE: [PHP-WIN] Fw: php to poup window Perhaps sessions? Register the variables in

Re: [PHP-WIN] Fw: php to poup window

2002-02-28 Thread Afan Pasalic
That's correct, but I would rather not to use URL to transfer info (names, passwords...). It must be hidden. Any other idea? afan - Original Message - From: Ryan Marrs To: 'Afan Pasalic' Sent: Thursday, February 28, 2002 3:56 PM Subject: RE: [PHP-WIN]

[PHP-WIN] Fw: php to poup window

2002-02-28 Thread Afan Pasalic
Hi, I'm trying to, after submitting a form, open a popup window and print all info in the popup window. I use the following code - which of course doesn't work: Untitled