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
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
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'
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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
Hi,
how an I find resolution on visitors monitor?
I need, according his resolution, use different image size...
afan
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',
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
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
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
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
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:
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
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
Hi, does anyone know where we can get a compiled T1lib to be able to use postcript
fonts with PHP.
Thanks,
c
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
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
"Flaws found in PHP scripting language"
http://zdnet.com.com/2100-1105-847252.html
Any comment?
Afan
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
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]
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