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
.${NewImage.$i};
}
if(is_uploaded_file($_FILES[var1][tmp_name]) or
is_uploaded_file($_FILES[var2][tmp_name]) or
is_uploaded_file($_FILES[var3][tmp_name])) { print_error(126); }
else { $error = 'y'; print_error(127); }
}
}
if(!$_POST[S
gd? Or
php 4.3.0 doesn't support gd 2.0 well? Any differences between GD for Win
or for Linux?
Any ideas?
Afan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
$POST[var3].
Even, listing by:
while(list($key, $value) = each($HTTP_POST_VARS))
echo"$key: $value";
can see just prod_name, MAX_FILE_SIZE i SubmitAdd variables.
Need $var1, $var2 and $var3 to validate uploaded files - have to be only
jpg format.
Any idea?
Afan
--
PHP Windows Mai
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
-
tent.txt file. looking for something opposite then file() -
taking array and writing it in file...
Thanks for any help!
Afan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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,
de"... Got it?
afan
- Original Message -
From: Svensson, B.A.T. (HKG)
To: [EMAIL PROTECTED]
Sent: Tuesday, August 20, 2002 1:06 PM
Subject: RE: [PHP-WIN] resolution?
> how an I find resolution on visitors monitor?
> I need, according his resolution, use
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
nd why?
Thanks.
Afan
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]
s=yes,toolbars=yes,resizable=yes,left=" + l +
",top=" + t + ",width=" + w + ",height=" + h;
var URL = "popup2.php";
popup = window.open(URL,"MenuPopup",windowprops);
}
// End -->
I'm getting a new popup window but nothing's there.
Thanks for any help
Afan
Thanks guys, I didn't know that... One more happy day...
Afan
- Original Message -
From: Mike Flynn
To: Nicole Amashta ; [EMAIL PROTECTED] ; [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 11:03 AM
Subject: Re: [PHP-WIN] im so stupid
At 10:43 AM 2/12/2002
Hm, isn't that the same I said yestreday (you don't need set value for action):
Afan
- Original Message -
From: Nicole Amashta
To: [EMAIL PROTECTED]
Sent: Tuesday, February 12, 2002 10:34 AM
Subject: Re: [PHP-WIN] im so stupid
AHA! That is it, and I've
Thanks guys, that was really fast. And helpful... Exactly what I needed...
Afan
Hi all,
I need a function to make a list of names of columns of specific table.
Any fast help? I was searching in MySQL documentation but I can't find it (I didn't
say is not there...)
Thanks!
Afan
Try function implode of an array (to make a string from your array) before you send it
through form and then explode that string into array
Afan
- Original Message -
From: Polleke
To: [EMAIL PROTECTED]
Sent: Monday, January 14, 2002 3:15 PM
Subject: [PHP-WIN] sending an
Me, again. Found mistake. It is PHP related:
Script:
if($SubmitSearch)
{
// Show results!
}
?>
Search by:
season:
Search by Season
Season 3
Season 2
Season 1
or by keyword:
If you click on enter button - var $SubmitSearch doesn't get any value
GOTCHA!
Hi people,
question is not 100% related to PHP but I hope somebody can help me:
I created form to search through site (PHP/MySQL) but if you click enter button -
nothing's happened. If you click "Search" (submit) button - script works fine.
Any clue?
Thanks for any help.
Afan
Tanks for all of you people - that was really fast.
And problem was, as "Webmaster" said - temp directory didn't exist.
Thanks for help.
afan
- Original Message -
From: "Webmaster" <[EMAIL PROTECTED]>
To: "Afan Pasalic" <[EMAIL PROTECT
Hi,
I'm playing with session and after
I'm getting this warning:
Warning: open(/tmp\sess_41d3918086b66b0e71cc6a0dc5dea344, O_RDWR) failed: m (2) in
C:\admin\index.php on line 2
What's problem?
Thanks for any help.
Afan
Hi all,
How is a library installed on Win2000? I have downloaded the binaries for t1lib but
can't get them to work.
Thanks for any help!
Afan
page - without using form?
Huh!
Lot of Q's...
Thanks!
afan
Hi to all,
I created the way to set multidimensional array into database using
serialize function. Code looks like:
$person = array("afan", "pasalic", "pasa", "123456789");
$home = array("home address comes here", "home city", "
Hi all,
to put an array into database I use serialize/unserialize function.
How can I put a multidimensional array?
Thanks for any help!
Afan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
table - in Netscape is 4 tiled
background images...
Yeah, Netscape really sucks.
Thanks Andrew!
Afan
- Original Message -
From: "Andrew Saturn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 18, 2001 3:37 PM
Subject: Re: [PHP-WIN] problem with nets
s tiled in
for pieces> Looks like that I put background="bg.gif" in every tag instead of in
tag.
Any idea how to solve this problem, if it's possible at all.
Sorry for bothering.
Afan
Does anybody have any info about www.pair.com as php
hosting co.? Good? Bad?
thanks
ammtar
__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
--
PHP Windows Mailin
Hi to all,
how can I to show the time/date data of visitors computer? I mean, in depend on
visitor's local time some info will be different.
Tanks for any help!
Afan
Hi to all,
how can I search folder with images for the image some_name.jpg and find
does it exist or not?
Thanks for any help!
Afan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
We are looking for 1 programmer with thorough understanding of PHP to start
right away. This will start as a freelance position that may turn into
fulltime if we find the right match. The person needs to be in NYC and will
be working from our offices.
Please contact Carlos Chiossone at 212-473-36
Any help, please.
Thanks
Afan
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
27;$value10');
One of elements has value 'xyz123' - I do not know which one.
How can I extract this element from the array and have a new array with all other
element, except extracted one.
Any idea?
Afan Pasalic
I just did it:
$Name = serialize($Name);
$Name = ereg_replace("\"", "'", $Name);
After submitting:
$Name = eregi_replace("'", "\"", $Name);
$Name = stripslashes($Name);
$Name = unserialize($Name);
Ok, this works, but the
ot;Name 2\";i:2;s:10:\"Name
3\";i:3;s:11:\"Name 4\";i:4;s:12:\"Name 5\";}
And after submitting:
On screen:
a:9:{i:0;s:13: - part after quotes is cutted off!
After:
$Name = unserialize(stripslashes($Name2));
no results!
Any idea how to fix this?
Thanks!
Afan Pas
-)
"yaawning" for somebody's work - it shows in the best way what kind of
person is he.
Afan
- Original Message -
From: "Paul Meagher" <[EMAIL PROTECTED]>
To: "Svensson, B.A.T. " <[EMAIL PROTECTED]>; "afan" <[EMAIL P
- Original Message -
From: "Svensson, B.A.T. " <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "afan" <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 11:36 AM
Subject: RE: [PHP-WIN] extracting email addresses
> >there is my problem: I h
- Original Message -
From: "Michael Rudel" <[EMAIL PROTECTED]>
To: "'afan'" <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 7:09 AM
Subject: RE: [PHP-WIN] extracting email addresses
> Hey afan,
>
> just make a strpos for an @, get the fir
y all seem to get it done...
>
> afan wrote:
> >
> > Hi all,
> > there is my problem: I have a large text file with a lot of email
addresses included in text. I have to extract just email addresses from a
whole text.
> > What's the way to do that?
> >
> > T
Hi all,
there is my problem: I have a large text file with a lot of email addresses included
in text. I have to extract just email addresses from a whole text.
What's the way to do that?
Thanks for any help!
Afan
Your code is fine and works ok.
Afan
- Original Message -
From: "Yessbell Carranza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 9:17 AM
Subject: [PHP-WIN] Can everyone help me?, pease...
> I´m new on PHP, I´ve been tryin
I use http://www.cqhost.com and http://www.1stconnection.net and I don't
have any problems.
Afan Pasalic
- Original Message -
From: "Manesh Manickam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, May 16, 2001 5:49 AM
is $NoOfPages >
integer($NoOfPages)
$NoOfPagesInt = $NoOfPages;
settype($NoOfPagesInt, "integer");
if($NoOfPages > $NoOfPagesInt):
$NoOfPages++;
endif;
Any suggestions?
Thanks!
Afan
Hi to all,
my problem is how to find / recognize in text URL (e.g. http://sprout.net) (address
will have always "http://"; part) and make a link, instead doing it "by hand"...
Thanks for any help
afan
Hi,
Does anyone know how to in case I make by accident a never-ending-loop stop running
program?
I just crushed couple times server with loop problem.
Thank you!
Afan
I addslashes:
a:5:{i:0;s:2:\"11\";i:1;s:1:\"7\";i:2;s:1:\"5\";i:3;s:2:\"10\";i:4;s:1:\"6\";}
After using form and submitting I have only first part, up to
first " (quote)
a:5:{i:0;s:2:\
What I have to do?
Thanks!
Afan
Try this:
$var_1 = "one";
$var_2 = "two";
$var_3 = "three";
for($i=1; $i<4; $i++)
{
echo"$i. ";
echo ${var_ . $i};
echo" ";
}
- Original Message -
From: "Mize, Robert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 15, 2001 9:32 AM
Subject: [PHP-WIN] php3 var que
Hi guys,
I work on newsletters and I send them using PHP. I want to send them in couple groups.
My question: is there any chance that first group e-mails would be start sending
themselves at noon. 2nd group at 1PM etc. - depend on time (timestamp)?
Thanks for any help!
Afan
lution: to send 4000 emails (every subscriber one email)
or one email with 4000 email addresses in Bcc.
Thanks for any help.
Afan
is better and faster solution.
Thanks for any help!
Afan
$Percent, "integer");//6341
$Percent = $Percent / 10;//63.41
I thing there is much better solution!
Thanks for help
Afan
79 matches
Mail list logo