Re: [PHP] I'm really getting annoyed with PHP

2003-07-24 Thread zerof
I'm using the redirect with php for a long time, with no problems.
I use it in all of my pages, including navigational menus.
The great problem with "headers" is the function "exit" if it is used to ends the call.
"headers + exit", if used in any place, may cause some collateral efects.
-
zerof
-



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] I'm really getting annoyed with PHP

2003-07-24 Thread zerof
You are absolutely right, exit, quits my script, this let me use an independent script 
to
handle the headers. if used with conditional calls. .

zerof
-
"Comex" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> <[EMAIL PROTECTED]>
-
> Why?  AFAIK, exit quits the script, exactly what you want if you want to redirect.
---



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Is their a flash and php mailing list?

2003-07-26 Thread zerof
forums.macromedia.com
-
zerof
-
Is their a flash and php mailing list? or PHP for Flash mailing list?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: How to open random Flash page with hyperlink?

2003-08-24 Thread zerof
Please see this simple exemple:
http://www.educar.pro.br/faqgeral/fla0003.php

zerof
-
"Phillip Pang" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I'm trying to create a hyperlink that will open a random Flash page so that  users 
> will
see a different flash module each time. Here is some of the code  that I wrote but I'm 
not
sure if it'll work since I'm not very good at
> coding. Oh yeah, I'm not using a database either.
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Microsoft access + php

2003-03-17 Thread zerof
If you have Dreamweaver MX, you can use PHAkt extension, that allows to work with ODBC.

Interakt:
http://www.interakt.ro/

Macromedia
http://www.macromedia.com/
--
zerof
--
"Denis L. Menezes" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
-
Can someone please lead me to some tutorial where I can PHP and Microsoft Access?
---



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: Fw: [PHP] Looking at individual chars of string

2003-03-17 Thread zerof
Try:

";

echo "So, echo \$vlr16200{0};returns the FIRST character of \"$vlr16200\", or,
\"$vlr16201\".";

echo "and, echo \$vlr16200{9};returns TENTH, character of \"$vlr16200\", ou seja,
\"$vlr16202\".";

?>
--
zerof



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: sound

2003-05-30 Thread zerof
Please see:
http://www.opaque.net/
how to use ming module.
-
zerof
-
"Bobby" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Does anybody know of a way under php to add a background sound to a
> webpage...i have sound on my page when it's local but as soon as I copy
> it to the server, nothing :( thanks
---



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php editor

2003-09-11 Thread zerof
Dreamweaver MX 2004.
-
zerof

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Setting Up PHP

2003-09-21 Thread zerof
Please see this useful article:
http://www.macromedia.com/devnet/mx/dreamweaver/articles/php_iis.html

zerof

"Dalton Seymour" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I'm trying to setup PHP support on an small 2 station Intranet for development 
> purposes.
I'm using PWS under Win98 SE. I believe I'm  experiencing a common problem, but I seem 
to
be unable to work my way around


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Tracking IP Addresses

2003-10-03 Thread zerof
Try:
http://www.maxmind.com
-
zerof
-
"Stephen Craton" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I'm wanting to track IP addresses by pinpointing their geological location
> (country and whatever) but I have no idea how to go about doing this. I've been
searching on the net and PHP
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] where is my session data on my new server?

2003-10-14 Thread zerof
You can bypass any configuration using:
session_save_path ('path/to/session_folder');
--
zerof
-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: search by keyword

2003-10-21 Thread zerof
Why your messages are only posted as attachments?
--
zerof
--
"Redmond Militante" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: To format a number

2003-11-07 Thread zerof
This problem can be veryu simple if you are at Unix like server:
http://www.php.net/localeconv

[ See also setlocale() ]
-
zerof
-
<[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
Hi, I have a little problem.
I have a number for example 5 and I would it transform in 5,00.
I tried with round() but it doesn't add the numbers after comma with an interger 
number.
Does some funtion that make this exist?
Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: DW Php update form where one field is menu from another table

2003-11-08 Thread zerof
Try: news://forums.macromedia.com
macromedia.dreamweaver.
--
zerof

"Robb Kerr" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I'm using Dreamweaver's "Update Record" form wizard to create a record
> update page. Most of the fields are "text", one is "file" and I want one of
> them to be a "menu". The "menu" field should be populated with the fields
> of another table.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: function that appends dollar symbol

2003-11-23 Thread zerof
Please, see:
http://www.php.net/manual/en/function.localeconv.php

and

http://www.php.net/manual/en/function.setlocale.php

-
zerof
-
"Joffrey Leevy" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> The money_format function does not do it for me.  Is there a simple php function 
> which
appends the '$'
> symbol to a string value.  Example
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Apache - Previewing Pages with Dreamweaver

2004-01-14 Thread zerof
To use LIVEDATA in Dreamweaver you need:
( You are at Windows environment. )

1 ) Apache server running ( normaly as a service );
2 ) PHP installed and configured;
3 ) MySQL installed;
4 ) Dreamweaver configured for the server model PHP/MySQL.

Some pages are not shown correctly in LIVEDATA ( localy );

If you run 2 servers from the same machine ( IIS and Apache ) you have to modify the 
the
port to which the Apache listens.
---
zerof
-
"Freedomware" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> P.S. Should I go ahead and install PHP, or should I wait until I'm able
> to preview pages on my new Apache server?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Form validation

2004-01-21 Thread zerof
If you can use Dreamweaver, there is an extension to do this.

zerof
-
"Matt Matijevich" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Can some one point me in the right direction for a good tutorial on
> form  validation in PHP?
---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: use php to download mysql table

2004-09-18 Thread zerof
Amc wrote:
Hi,
Does anyone have any sample code that will download a mysql table to an
excel file?
Thanks
-
http://www.dbtools.com.br/
-
zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] IE Problem Detecting Post Variables

2009-01-02 Thread zerof

L. Herbert escreveu:

Bastien,

Thanks for your response.  The curious thing is that the value is passed 
when using FF, but not passed when using IE.


Here is the relevant form html:





It may seem strange, but try using "POST" instead of "post".

(I had this same problem when my server was upgraded to Apache 2.2.10)


Flip It!
src="images/switch-button-grey.gif" title="Default Theme" id="style1" 
value="default" />
src="himages/switch-button-default.gif" title="Alternate Theme" 
id="style2" value="alternate" />





.

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
http://www.geoticks.com/
Geo Positioning Solutions
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: GeoIP?

2009-03-15 Thread zerof

Michelle Konzack escreveu:

Hello Nitsan,

Am 2009-03-15 15:39:26, schrieb Nitsan Bin-Nun:

Take a look at this:
http://www.maxmind.com/app/geolitecountry

Use indexes, I think the checkup won't take long.



...
For a long time I'm using the geolitecountry without no problems.
The procedures that I use, can be seen in the tutorial located at:

http://www.educar.pro.br/i_en/GeoIP/

( An alternative procedure to the one proposed, is to use phpMyAdmin to 
upload the CSV file to MySQL.)



--
zerof
http://www.educar.pro.br/
http://www.geoticks.com/
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: GeoIP?

2009-03-16 Thread zerof

Nitsan Bin-Nun escreveu:

Hi Michelle,

Try to use sqlite instead of any other database. It will be better I guess.

Regards,
Nitsan

On Sun, Mar 15, 2009 at 9:08 PM, zerof .> wrote:


Please, avoid to reply our messages with entire heads.
I don't like to see my email along these.
----
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: GD 2.0.28 + PHP 4.4.2 + pixelation :(

2006-12-28 Thread zerof

Steven Macintyre escreveu:

Hi All,

I have done some searching via google and some answers say change
copyimageresampled to copyimageresized etc 


I have tried all fixes ... to no avail


I have one image here 1280 x 960 (150 dpi) 24 depth

When using the following it pixelates ... 


function createthumb($name,$filename,$new_w,$new_h)


http://www.educar.pro.br/abc/gdlib/

zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP/Apache configuration failure

2007-01-10 Thread zerof

Bruce A. Julseth escreveu:

I can't get Apache to restart after I've configured for PHP. I've upgraded my 
installation to
5.2. 
...

...

My mailbox is spam-free with ChoiceMail, the leader in personal and corporate 
anti-spam solutions. Download your free copy of ChoiceMail from 
www.digiportal.com


I wrote a tutorial on how to install Apache2/PHP5 in a non standard way.

http://www.educar.pro.br/compl/php5/

http://www.educar.pro.br/compl/apache22/

http://www.educar.pro.br/compl/apache2/
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opião!
--  
You must hear, always, one second opinion! In all cases.
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Extracting XMP text from Jpeg

2007-01-13 Thread zerof

Dotan Cohen escreveu:

The birth of my first daughter has inpired me to get the photo gallery
on my site up to date. To do so, I need to extract XMP data from Jpeg
pictures. Here is a test pic:
http://dotancohen.com/gili.jpg
(beware, it's 1.8 MB)

This pic has three tags:
TEST
MILOTTEST
גילי

.

http://www.ozhiker.com/electronics/pjmt/library/list_contents.php4?show_fn=XMP.php

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opião!
--  
You must hear, always, one second opinion! In all cases.
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Extracting XMP text from Jpeg

2007-01-13 Thread zerof

Dotan Cohen escreveu:

The birth of my first daughter has inpired me to get the photo gallery
on my site up to date. To do so, I need to extract XMP data from Jpeg
pictures. Here is a test pic:
http://dotancohen.com/gili.jpg
(beware, it's 1.8 MB)
.


http://www.educar.pro.br/abc/gdlib/index.php?pageNum_rsNVER=22&totalRows_rsNVER=97

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opião!
--  
You must hear, always, one second opinion! In all cases.
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: JPEG info needed

2007-01-23 Thread zerof

Gerry D escreveu:

I need PHP to find out if a jpeg file uses progressive encoding. None
of the standard exif or image functions seem to be able to tell me
that. (please correct me if I'm wrong)

Can anybody help me?

TIA

Gerry


http://www.jpeg.org/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opião!
--  
You must hear, always, one second opinion! In all cases.
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Multi lingual pages

2007-01-24 Thread zerof

Otto Wyss escreveu:
I'd like to make my pages multi lingual, showing everything in the 
language the user chooses. My pages show mostly static text. So what's 
the usual implementation for this case.


O. Wyss

To to this, I use the GeoIP database.
For me, it works fine!

http://www.maxmind.com/app/ip-location
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--  
You must hear, always, one second opinion! In all cases.
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: two php.ini on the same server

2007-01-26 Thread zerof

phpdevster escreveu:

Hi

i am trying to run two Apache server on the same machine and that is work
fine

but the problem is how to create separate php.ini for each Apache server .
is that possible ??


Two usual possibilities:

1) To install two Apache Services ( Windows environment )

   Apache 1.3.xx running php 4
   Apache 2 running php 5

   http://www.educar.pro.br/

2) To use only one Apache2 Service

   Setting two virtual hosts, one for php4 and other for php5

   http://foundationphp.com/tutorials/apache22_vhosts.php
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful to you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: how to display images stored in DB

2007-02-25 Thread zerof

Alain Roger escreveu:

Hi,

i stored all my pictures in my PostgreSQL DB as bytea type.
Now i would like to know how can i display them in my PHP pages ?

where can i find some example ?

thanks a lot,


--
It is not a good practice to store pictures in DataBases, use links, 
instead of.

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Matching Proper Versions Of PHP and MySQL

2007-03-05 Thread zerof

revDAVE escreveu:

Hello All,

I'm a newbie.

My server just upgraded to PHP version 5.1.2 from php 4.3.11

MySQL currently is v 4.0.27


Q: What is the oldest - best/safest version of mySQL to use with PHP version
5.1.2.? The reason I mentioned the oldest - is because, for legacy clients,
I would like to do the minimum upgrade to ensure best compatibility with
legacy code ( mySQL and NON php etc.). If it is OK to stay on mySQL version
4.0.27  ... That would be good to know.

Q: Is PHP version 5.1.2 -  relatively " stable " version of PHP 5?




--
Thanks - RevDave
[EMAIL PROTECTED]
[db-lists]

The last release version of PHP is 5.2.1.
The last relase version of MySQL is 5.0.27.
You can use php 5.2.1 with MySQL 5.0.27 without problems.
The system is very stable.
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Creating variable names from values

2007-03-08 Thread zerof

Otto Wyss escreveu:

 From an arry I create a table like

  foreach ($persons as $key => $pers) {
echo "
  ...
  }

so each checkbox field has its own name created from $key. Yet how can I 
access these fields (names) later on?


  foreach ($persons as $key => $pers) {
if ($K???) {
  $cnt += 1; ...
}
  }

Is there a better way to access multiple fields from a table?

O. Wyss



$persons = array ( "John", "Mary", "Meany", "Jorge", "Sam", "Joseph", 
"Bill", "Frank" );


echo '$persons = array ( "John", "Mary", "Meany", "Jorge", "Sam", 
"Joseph", "Bill", "Frank" )list ($person01, $person02, 
$person03, $person04, $person05, $person06, $person07, $person08 ) = 
$persons';


list ($person01, $person02, $person03, $person04, $person05, $person06, 
$person07, $person08 ) = $persons;


echo 'echo $person05/>   o->   $person05 = ' . $person05;
echo 'echo $person08/>   o->   $person08 = ' . $person08;


--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php bar/graph scripts/library

2007-03-16 Thread zerof

Ron Croonenberg escreveu:

hello all,

I am looking for some  scripts/libraries etc to produce some bar graphs etc.

Does anyone know of something "nice (that works on Linux)

thanks,
Ron

--
The origins,

http://www.aditus.nu/jpgraph/jpdownload.php

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: IP Geolocation Scripts

2007-03-29 Thread zerof

Daniel Brown escreveu:

   Does anyone have any recommendations for existing open source PHP
scripts that use IP Geolocation?  I was looking into creating a hook to use
hostip.info's API, but it's still too new, and I've already had to add 
three

IP address and a netblock.



I use the GeoIP Lite from Maxmind, it works fine for me!
In the Maxmind site you can get the free CSV that can be converted to 
MySQL or other DB.


http://www.maxmind.com/
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Can anyone identify this CM system?

2004-05-18 Thread zerof

The server returned the following response headers:

HTTP/1.1 200 OK

Date: Tue, 18 May 2004 13:15:39 GMT

Server: Apache/1.3.12 (Unix) (Black Cat/Linux) PHP/4.3.4

Cache-Control: max-age=604800

Expires: Tue, 25 May 2004 13:15:39 GMT

Last-Modified: Thu, 13 Nov 2003 15:36:52 GMT

ETag: "c154c-1d09-3fb3a514"

Accept-Ranges: bytes

Content-Length: 7433

Connection: close

Content-Type: text/html; charset=windows-1251

Age: 6403

Query complete.

-----

zerof


[PHP] Re: Render fonts

2007-08-19 Thread zerof
I would like to render some fonts into images, for captions on a site. 
What tools should I use to get the best looking render? Do you guys 
use the built-in tools PHP has, or are there third party libraries 
that does a better job?

...
http://www.educar.pro.br/en/a/gdlib/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Heredocs

2007-08-29 Thread zerof

RodgerW escreveu:

Are heredocs supported by PHP 5.2.3 running in WinXP/Apache2.2.4 ?
I prrint via heredocs and its not working. Print with single quotes and 
double quotes work.



string init method 3: heredocs
END;   
?>



-
An example:

Cupidatat non proident,
  velit esse cillum dolore ut labore et dolore magna
  aliqua.Lorem ipsum dolor sit amet, mollit anim id
  est laborum.Ut enim ad minim veniam, excepteur sint
  occaecat sed do eiusmod tempor incididunt.
  "Lorem Ipsum"
IDF;

echo $est01;

?>
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Generating foldout menus in php

2007-09-04 Thread zerof

Arno Kuhl escreveu:

This may not be directly php related but I'm hoping that generating the code
with PHP will keep it on topic.

I'm looking for a way to generate dropdown/foldout menus (horizontal and
vertical) on the fly, but all the javascript solutions I've seen use
absolute or relative pixel positioning, which means I can't use them because
I don't know at the time of generating a specific menu item how many pixels
across or down the preceding items have already used. I'm currently using a
javascript menu that works really well, but all the top-level menu items
have to be preset with specific x-y pixel coordinates, and all the
subsequent items are then relative to the top-level items. So I can generate
the second-level and subsequent items on the fly but not the top-level
items. Is there a way to use css or dhtml or something else (maybe something
in javascript that I missed) to do this?

Thanks
Arno


http://phplayersmenu.sourceforge.net/

http://labs.adobe.com/technologies/spry/
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: gd with php 5.2.4

2007-10-14 Thread zerof

xx escreveu:

Help!
I'm using php version 5.2.4 and I'm not able to even get a pointer to a jpg
image (ImageCreateFromJPEG(filename)).
When I do so the program exits ...
Can anybody help me, please?

-
http://www.educar.pro.br/en/a/gdlib/index.php?pn=15&tr=97

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Image manipulation on the fly

2007-11-08 Thread zerof

Merlin escreveu:

Hi there,

I need to manipulate images on the fly. My goal is to make the image
very bright, or to add a sepia effect. The problem is, that this takes a 
lot of computing power on 1024 pictures. About 2s on my server until the 
image is delivered.

...


http://www.educar.pro.br/en/a/gdlib/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP Source code protection

2008-02-06 Thread zerof

Zoran Bogdanov escreveu:

Hi,

I'm building a C# application that connects to a server that has PHP scripts 
on it.


We need to deliver the complete solution to a firm, the C# is no problem 
because it is compiled...


But PHP is a problem bacause it is interpreted and we will have to deliver 
pure, unprotected script...


Is htere a way to secoure my code so when they put it on the server, they 
can't see it!


Thank You! 

Try Roadsend, now as Open Source:

http://www.roadsend.com/home/index.php?SMC=1&pageID=compiler

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: AMP installer

2008-02-22 Thread zerof

Ryan A escreveu:

Hey!
Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I 
usually used phpdev in the past but now I want php5 compatability... can anyone recommend 
any such "all in one installer".
And yes, I know its good experience and so on to do each one manually... but 
dont have the time to pure over help docs for hours or days.
Am on Win Vista premium.
Thanks!
Ryan

---
http://www.educar.pro.br/en/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP eg.

2008-05-31 Thread zerof

mukesh yadav escreveu:

Hi,
  I'm trying to learn a PHP by myself...and i need a help.
I have learned all the basic but i dont know how to implement the stuff.
Can you please guys help me out give me a small site in PHP so that i can
study and learn.

thank you.


Maybe, this site can help you to learn:

http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php5.2.4 and apache2.0.63 on WinXp

2008-06-01 Thread zerof

Ramses escreveu:

Hello,

I found this address somewhere on the php.net site indicating I should 
send my questions to this email.


I am trying to get php and apache to work together.  it's a new install.

I installed apache2.0.63 first and tested localhost : it worked fine
I then installed php5.2.4 in c:\PHP\

I adjusted - after some internetsearches -  the httpd.conf to :

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
LoadModule php5_module "C:\PHP\php5apache2_2.dll"
PHPIniDir "C:\PHP\"
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3 .phps
Action application/x-httpd-php "/php/php.exe"

After relaunching apache i keep getting the message :
CANNOT load c:/PHP/php5apache2_2.dll. the specified module could not be 
found.


PS : I've set my environmental variables : PHPRC to c:\PHP\
And my path does contain ; c:\PHP\


Anyone can help me?

kind regards,

Ramses



---
Try these links.
(With non-traditional settings, however, easier to configure)
http://www.educar.pro.br/i_en/apache/v20/
http://www.educar.pro.br/i_en/php/v5/
http://www.educar.pro.br/i_en/mysql/v50/
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP compile

2008-06-09 Thread zerof

Hélio Rocha escreveu:

Hi there,

How can i compile or encrypt a PHP project without changing any thing on the
server? [Fast-]CGI it's a possibility.

Thanks in advance.
Hélio


http://www.roadsend.com/home/index.php

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: how to detect type of image

2007-04-21 Thread zerof

Alain Roger escreveu:

Hi,

In my web application, end user is able to load images (png, jpeg, gif,..)
into database.
I would like to know how can i detect automatically the type of image (pnd,
jpeg,...) ?
i do not want to check the extension because this is easily faked... 
just by

renaming it.

Does it exist a technique for that ?

thanks a lot,


function getimagesize:

http://www.educar.pro.br/a/gdlib/index.php?pn=22&tr=97

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: transparent gifs with matte?

2007-04-24 Thread zerof

Ross escreveu:

Hi,

I am looking to create a transparent text gif that allows me to set a colour 
for the matte. I have it working as a PNG but this is no good in IE.


Does anyone have an exampe of this?


This is my code so far.

ImageTTFText ($im, 20, 0, 10, 20, $blue, "Font - TrueType - Square 721 
BT.ttf", "HELLO");

ImageGif ($im);
ImageDestroy ($im);
?>

R. 

-
See an example of imagefttext().
(in portuguese, but the code is simple to understand)

http://www.educar.pro.br/a/gdlib/index.php?pn=81&tr=97

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP 5.2.2 - Undefined Function mysql_connect()

2007-05-07 Thread zerof

Jason Paschal escreveu:

I use this setup locally for testing/playing.  I recently installed the
latest and greatest of the AMP collection.

Apache 2.2.4
PHP 5.2.2
MySQL 5.0.37

Apache and PHP work fine together, but I wanted to hook it up to a local
test database, so  I installed MySQL.

In php.ini, i have:

; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\PHP"


--
If you have installed all AMP individualy, the

> extension_dir = "C:\PHP"

must be

extension_dir = "C:\PHP\ext"


... where other PECL extensions must be unziped, too.
--



i made sure that i moved the dll to that folder, just like i did with 
the gd

dll.

And then i uncommented this line:

extension=php_mysql.dll

I restarted Apache, and ran a simple test script:



and I get the error:

*Fatal error*: Call to undefined function mysql_connect()

any ideas?

thanks in advance,
jason


--
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: linking to an image with document_root

2007-06-01 Thread zerof

blueboy escreveu:

May be a stupid question but can I link to images with doscument root

$img_url= $_SERVER['DOCUMENT_ROOT'].'/images/holder.gif';

echo "";

I am certain the path is correct,

If not what are my alternatives?


R. 

--
I think the best solution is to set the image path using de define function.

@define ("PATHTOIMG", "the_path/", true );

echo '';

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: undefined GD function

2007-06-04 Thread zerof

C.R.Vegelin escreveu:

Hi All,

I am testing some GD functions, but I'm getting "undefined function" errors.
I checked php.ini and changed
;extension=php_gd2.dll
to
extension=php_gd2.dll

The php.ini file contains: extension_dir = "c:/php/ext"
and this directory does contain php_gd2.dll (version 5.2.0.0)
I am using Windows XP, PHP 5.2.0 and IIS 5.1.

The function getimagesize($filename); is okay,
but imagecreatetruecolor($width, $height); says "undefined function".

I would appreciate some hints.

TIA, Cor






The function getimagesize() does not require the GD image library.
Check your system with:
--


<!--
.abcv {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: italic;
color: #FF;
background-color: #CC;
border: 1px solid #33FF00;
padding-top: 2px;
padding-right: 10px;
padding-bottom: 2px;
padding-left: 10px;
}
-->

' . $xt . '';

 echo "";
 print_r ( $funcs10 );
 echo "";
 }

?>

IF the GD libray was listed, use:


";
 print_r ( $gdfuncs );
 echo "";
?>

To see all the active GD funtions.
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Image Information

2007-06-06 Thread zerof

Steve Marquez escreveu:

Greetings,

I am trying to get information (width, height, file size) from an image
before it is uploaded. Is there a way to do that?

Thank you,

--
Steve Marquez


array getimagesize ( string file_image_name )

http://www.educar.pro.br/en/a/gdlib/index.php?pn=22&tr=97
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Image Information

2007-06-06 Thread zerof

Stut escreveu:

zerof wrote:

Steve Marquez escreveu:

Greetings,

I am trying to get information (width, height, file size) from an image
before it is uploaded. Is there a way to do that?

Thank you,

--
Steve Marquez


array getimagesize ( string file_image_name )

http://www.educar.pro.br/en/a/gdlib/index.php?pn=22&tr=97


Won't work *before* it is uploaded. Please read the question.

-Stut

Sorry... I think this can be useful:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=1272318&enterthread=y

http://us3.php.net/manual/en/features.file-upload.php
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Faulting module php4ts.dll

2007-06-08 Thread zerof

Chris Boget escreveu:
We are running PHP 4.3.11 in a Windows Server 2003 environment using 
ApacheSSL v1.3.  Starting just the other day, we starting seeing the 
following error pop up in the windows eventvwr:


"Faulting application Apache.exe, version 0.0.0.0, faulting module 
php4ts.dll, version 4.3.11.11, fault address 0x000c3d28."


I've been searching Google all day and haven't been able to come up with 
a definitive cause (or even better, a solution) as to why this might be 
occuring.  Has anyone else experienced anything like this?  If so, were 
you able to fix it?  If so, how?


thnx,
Chris


Try this:

01 )download the full version (.zip package) of php 4.3.11, unzip it in 
a temporary folder, search into the unpacked folder for: php4ts.dll;


02) make a backup copy of your php4ts.dll, and execute copy/paste this 
new php4ts.dll in the same place.


--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Going from simple to super CAPTCHA

2007-06-12 Thread zerof
This is another intersting example of CAPTCHA, from - Carnegie Mellon 
University:


http://recaptcha.net/


--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: GD Library and outputing image

2007-06-15 Thread zerof

Ross escreveu:


$image = imagecreatefromjpeg($img_url);


$image in this case, is the Image Identifier, and returns something like 
, Resource id #NUMBER ( Resourse id allocation process, for the generic 
imagecreate... ).



if ($image === false) { die ('Unable to open image'); }

// Get original width and height
echo $width = imagesx($image);
echo $height = imagesy($image);

// New width and height
$new_width = 200;
$new_height = 150;

// Resample
$image_resized = imagecreatetruecolor($new_width, $new_height);


$image_resized is another Image Identifier


imagecopyresampled($image_resized, $image, 0, 0, 0, 0, $new_width, 
$new_height, $width, $height);


The imagecopyressampled() returns a boolean value [ TRUE(1) or FALSE(0)].
This value can be used to test the function success.

A) If you haven't no problem with readers, you must use:

> // Display resized image
> header('Content-type: image/jpeg');
> imagejpeg($image_resized);
imagedestroy($image);
imagedestroy($image_resized);

So, in this case you have 2 Image Identifiers, to be destroyd at the 
end, to freely the processes.


imagedestroy($image);
imagedestroy($image_resized);

B) However, if you have problems with header, you must use:

imagejpeg ($image_resized,  "image.jpg");
echo '';
imagedestroy($image);
imagedestroy($image_resized);

instead of
>
> // Display resized image
> header('Content-type: image/jpeg');
> imagejpeg($image_resized);
imagedestroy($image);
imagedestroy($image_resized);


die();

This is not allowed here.
---
Please see an example of imagecopyressampled() here:

http://www.educar.pro.br/en/a/gdlib/index.php?pn=20&tr=97


--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Flash / Ajax / PHP

2007-06-30 Thread zerof

David Giragosian escreveu:

I've recently been using some limited free time to explore the Freemovie
(Flash-PHP API) and Ajax technologies.

Can anyone help me to understand whether these can be used together? Can I,
for example, pull data from MySQL, dynamically alter Flash function
parameters, then use Ajax to deliver the new content?

Thanks in advance,

David


---
The right place:
http://labs.adobe.com/technologies/spry/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
Você deve, sempre, consultar uma segunda opinião!
--
Deixe todos saberem se esta informação foi-lhe útil.
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php install problem

2007-08-03 Thread zerof

David McDivitt escreveu:

I hate to ask a simple question, but I have two issues installing PHP. I have XP SP 2 with IIS. When I ran 
the install php-5.2.3-win32-installer.msi, it said it could not access "httpd.config" and I would 
have to configure the web server manually. I could not find anything on the internet containing the error 
message. I get the same error when installing IIS API and IIS CGI. The other problem I have is when I attempt 
to display a page containing PHP, the browser displays an error. The error I was getting said "PHP has 
encountered an Access Violation". Now it's changed and says "No input file specified." Weird. 
If someone could shed light I'd appreciate it. Thanks

-
IMHO, the best, is to use the WAMP environment.
Try: http://www.educar.pro.br/en/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Creating watermarks

2007-08-04 Thread zerof

Tom Ray [Lists] escreveu:
I've been learning how to use PHP with the GD Library and I've managed 
to learn quite a bit. I can upload, resize, create thumbnails and I'm 
even able to create "security code" images for forms. My question is how 
do I create a Watermark on the image? I want something transparent but 
still visible enough to see the copyright and the website. I want to put 
it in the center of the image. I would use a non-water marked image and 
when it's called on (depending on viewing size) I want the water mark to 
be added.


How would one go about doing that?

---
http://www.educar.pro.br/en/a/gdlib/index.php?pn=76&tr=97

http://www.educar.pro.br/en/a/gdlib/index.php?pn=23&tr=97

http://www.educar.pro.br/en/a/gdlib/index.php?pn=81&tr=97

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Which Chat system to use

2007-08-04 Thread zerof

robert mena escreveu:

Hi,

I need to add a simple chat system to my site and I am trying to find out
good solutions, free or paid.  Some of the requirements :
- php :)
- uses some sort of template system (smarty better)
- support for private chats
- source code available
- one chat room (except for private chats everybody sees everything)

So far the chat systems I've found are too complex (need to register the
nick before entering the chat, confusing interface), not stable enough (
http://www.phpfreechat.net/) or integrated with other systems.

There is no need for :
- multiple chat rooms
- operator/ban
- registration of the nickname
- archive of previous chats

thanks.


--
http://socket7.net/lace/

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: convert byte to MB

2006-07-25 Thread zerof

weetat escreveu:

Hi all ,
 I have data which have value in bytes for example ,
   $bytes = 33554432;
  How to convert this to MB ?
THanks


Please see:
http://www.unc.edu/~rowlett/units/index.html
http://www.unc.edu/~rowlett/units/dictM.html
-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: image manipulation with php

2006-08-29 Thread zerof

Ross escreveu:

I have an saved images I output with this...





I want to use getimagesize() to get the height and width of the image and if 
it is above a certain size then scale/ reduce it.


The problems are

(i) using getimage() without a url just my viewphoto.php script

(ii) comparing and reducing  the file

Ross 


http://www.educar.pro.br/abc/gdlib/index.php?pageNum_rsNVER=22&totalRows_rsNVER=67
----
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: live chat support

2006-09-01 Thread zerof

blackwater dev escreveu:

Does anyone have any recommendations on some good live chat support apps?
These are the ones where someone can go to your site, click a button and
open a chat window with a customer service person.  I'm particularly
interested in ones where we handled the server and everything.

Thanks!


-
http://livehelp.stardevelop.com/


http://www.helpcenterlive.com/

-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: newbie php tutorial question

2006-10-02 Thread zerof

srdaniel escreveu:

I setup Apache 2.2.3.0 and PHP 5.1.6.6.

When I run this PHP file:



 
  PHP Test
 
 
 Hello World'; ?>
 



-
Start here:
http://www.educar.pro.br/
-----
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Is there a function can decrypt md5 ??

2006-10-24 Thread zerof

Brad Chow escreveu:

Dear all:
Is there a function can decrypt md5 ??
I don't have any bad ideas.
I just want to know whether md5 can be decrypted or not.
--
Brad

--
The md5 hash is not a codification, but, yes, a validation key.
In this way, it cannot be decoded!
It only can be used to validate data, like a signature.
-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Is there a function can decrypt md5 ??

2006-10-24 Thread zerof

Satyam escreveu:
An analogy of why it cannot be decodified is thinking of the MD5 as the 
remainder of a division.  Even if you know the divisor and the 
remainder, there are many numbers that could have produced that result.  
The remainder or modulo operation loses information thus the original 
cannot be reconstructed.  It is a one way operation, while the same 
number will always produce the same MD5, many numbers can be the origin 
of that result and which one was it cannot be guessed.  While dividing 
by 2 will only give you reminders of 0 and 1 for every number, the 
result of Md5 produces a very good variety of results with a good spread 
of values over the whole range of possible results.

Satyam



You are absolutely correct. What I wanted to say is that hash md5 does 
not have to be used to encrypt nothing, therefore, this is not its purpose.

--
ex-corde,
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php.ini

2006-11-09 Thread zerof

Alain Roger escreveu:

Hi,

everytime i install PHP, my "php.ini" must be installed in "C:\windows\"
folder.

How can i do to force system to read "php.ini" file from "C:\PHP\" folder
only ?
thanks.

Alain



You need to put the c:\php folder in the path of the system.

Control Panel >

OPEN System >

> Tab Advanced > Environment Variables >

> Select the variable Path > Click Edit >

> Add at the end, the term: ;C:\php;

+ Click OK, OK, . . . to conclude.

ex-corde,
zerof
http://www.educar.pro.br/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php.ini

2006-11-09 Thread zerof

Matt escreveu:

Adding the line:

PHPINIDir "c:/php/"

to my Apache configuration file has worked for me on Windows installs,
assuming that you are using Apache.


--
OH yes, in Apache 2.x this is also necessary.
-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Hide Warnings

2006-11-18 Thread zerof

Stein Ivar Johnsen escreveu:

Hi..

How can I hide Warning messages so they are not shown on screen..:
Warning: Call-time pass-by-reference has been deprecated - argument passed 
by value; If you would like to pass it by reference, modify the declaration 
of [runtime function name](). If you would like to enable call-time 
pass-by-reference, you can set allow_call_time_pass_reference to true in 
your INI file. However, future versions may not support this any longer. in 
/home/users/kivugog/Blog/index.php on line 69


I will appreciate all help on this...


--
Try to use the @ sign before the name of the function.
-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: GD - Problem writing text

2006-11-23 Thread zerof

Fredrik Thunberg escreveu:

Hi all

.

I'm trying to generate a dynamic picture with some text on it. The code 
works fine on one of my servers, but not on the other one.


The code I'm using:

...
The one things that differs between the servers is:
"FreeType Linkagewith TTF library" is set on the faulty one. Can 
this be the problem?


Cheers
/Fredrik Thunberg
[EMAIL PROTECTED]


I have some useful examples here:

http://www.educar.pro.br/abc/gdlib/ndex.php
( uti et abuti )
-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP Manual in PDF format

2006-02-25 Thread zerof

Kaushal Shriyan escreveu:

Hi ALL
I am looking out for PHP Manual in PDF Format
Thanks in Advance
Regards


http://dev.mysql.com/doc/
-
zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP Manual in PDF format

2006-02-25 Thread zerof

zerof escreveu:

Kaushal Shriyan escreveu:

Hi ALL
I am looking out for PHP Manual in PDF Format
Thanks in Advance
Regards


http://dev.mysql.com/doc/
-
zerof

---
Ops... sorry!
http://www.php.net/docs.php

zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Run Apache/PHP/MySQL from CD?

2006-04-19 Thread zerof

Jay Paulson escreveu:

I have no idea if this is possible or not but is there a way to run Apache,
PHP, and MySQL from a CD?  I'd like it to be possible to run it on Windows,
Mac OSX and *nix.  If it is possible could someone point me in the right
direction?

Thanks!

-
Please see:
http://www.dwebpro.com/

zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: exif_imagetype and constant confusion

2008-06-20 Thread zerof

eric cash escreveu:

Stupid question time!  I can't find my answer anywhere, sorry about this...

The nature of the return value of exif_imagetype() is baffling me.  The 
php manual uses one simple example like this:



   



okay, cool.  the return value is the constant IMAGETYPE_GIF.  of course 
if you do something like this:


$foo = exif_imagetype('image.jpg');
echo $foo;


you'll echo out 2.

Great, seems really useful to me.  What am I missing? Why is the value 
of the IMAGETYPE_XXX constants an integer, for one thing, and not a 
string like 'gif' or 'jpg'?  And how do I access some sort of usable 
string telling me the type of image without having to do something 
retarded like putting a bunch of strings in a numerically indexed array 
(which will be completely confusing later when I try to figure it out).  
And thirdly, what the !?#@ am I missing here? I feel like an idiot, but 
it makes no sense to me that an 'imagetype' function would return 
something that evaluates to an integer.


Please help, my head hurts.

Thanks

ec

-
http://www.educar.pro.br/i_en/php/exif/
---

--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--  
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: geolocation

2008-09-02 Thread zerof

clive escreveu:

Hi,

Have any developed a site that determines a users location based on IP  
address, Im not looking for accurate locations, just what country they 
are coming from.


I know I could possible get a list of IP blocks allocated to countries 
or make use of some web server to get the information, I just want to 
know how others are doing this?


If are using a specific method and know it to be robust and up to date 
please let me know.


Thanks

clive

I use GeoIP from Maxmind, too, and I wrote a brief tutorial on how to 
use it.


http://www.educar.pro.br/i_en/GeoIP/
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
--
You must hear, always, one second opinion! In all cases.
--
Let the people know if this info was useful for you!
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Mp3 with php?

2004-02-13 Thread zerof
There is one possiblitity, using ming extension.
http://ming.sourceforge.net/
--
zerof

"Carlos Castillo" <[EMAIL PROTECTED]
> escreveu na mensagemdoes anyone know how to reproduce a mp3 file with php?
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: phps and iis

2004-02-14 Thread zerof
It is possible:
http://www.macromedia.com/devnet/mx/dreamweaver/articles/php_iis.html
-
zerof
-
"Anders Gjermshus" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Is it possible to get IIS 6 to show php sources. ( phps files )
---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: phps and iis

2004-02-15 Thread zerof
Try starting your browser with:
http://localhost/
-
zerof
http://www.educar.pro.br/PAGES/
-
"Anders Gjermshus" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> I have installed php on my iis server. What I'm looking for is how to get
> php sources to work on IIS. Like phps files.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: phps and iis

2004-02-16 Thread zerof
Another useful resource:
http://www.php.net/manual/en/install.iis.php
-
zerof
-
"Scott Fletcher" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Well, the instruction at macromedia website is not accurate.  It is only for
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: PHP/ MySQL Login Module

2004-02-16 Thread zerof
If you can use Dreamweaver, you must use one extension to make this. Is very simple.
http://www.macromedia.com/cfusion/exchange/index.cfm
-
zerof
-
"Pushpinder Singh" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> hello everyone.
>  I am using PHP and MySQL on my website. Till now I was using a
> Login module with sessions, but the look and feel was not quite up to
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: using xp home

2004-02-22 Thread zerof
No problems.
I recommend you, to use Apache 1.3.29 + php 4.3.4 + mysql 4.0.18 + mysqlfront 3.0
-
zerof
http://www.educar.pro.br/PAGES/

"Danny Cobbinah" <[EMAIL PROTECTED]> escreveu na mensagem
ews:[EMAIL PROTECTED]
> is it better to use apache 1.3.29 or apache 2.0.48?  i am having the worst trouble 
> ever
trying to get this thing to work


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: APACHE

2004-04-07 Thread zerof
http://www.apache.org/foundation/mailinglists.html
-
zerof
-
"Wykis" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> Guys... I Think I Am In Wrong Place... But What  Is Address Of Apache
> Newsgroups? :)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] RE: [PHP-WIN] Cannot load the mysql library

2004-11-04 Thread zerof
Jordi Canals wrote:
Hi,
On Thu, 4 Nov 2004 01:12:40 +1000, Murray @ PlanetThoughtful
<[EMAIL PROTECTED]> wrote:
When I open the page, I receive the message: "PHP Startup: Unable to load
dynamic library './ext/php/_mysql.dll' â Can't find the specified module".
I
don't know if this is the exact message, because the original is in
Portuguese: "(â) â NÃo foi possÃvel encontrar o mÃdulo especificado".
It's probably a little obvious, but just to make sure: did you restart IIS
after copying the dll and uncommenting the line in the ini file?
Looks like you have bad info in the PHP.INI file ... as the message
normally will be:
Unable to load dymaic library c:\php\ext\php_mysql.dll.
Check for this entries in your PHP.INI, I write the correct values
(Suposing you've installed php in c:\php ...
extension_dir = "c:\php\ext\"
extension=php_mysql.dll
Hope this helps,
Regards,
Jordi.

DÃ uma olhada em: http://www.educar.pro.br/
Provavelmente, voce encontrarà a soluÃÃo.
Caso precise de ajuda à sà pedir que lhe forneÃo graciosamente.
-
zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: authentication

2004-12-30 Thread zerof
Ali wrote:
Hi everyone...
can anyone lead me to a good tutorial on authentication...it wud be good if
i can get a one in connection with a database..
thnks

If you understand portuguese: http://www.educar.pro.br/
---
zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: What program to use to make thumbnail images?

2005-01-10 Thread zerof
John Holmes wrote:
What do you guys recommend for making thumbnails from uploaded images? I 
know of the GD extension, Imagemagik and netpbm. Any other 
recommendations or opinions on which of the above work best with PHP? 
Thanks.

--
Good choice,
http://coppermine.sourceforge.net/demo/
---
zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] php editor

2005-01-14 Thread zerof
http://www.maguma.com/

zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: php editor

2005-01-14 Thread zerof
http://www.maguma.com/

zerof
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: imagecopyresized just copies

2005-11-20 Thread zerof

Andy Pieters escreveu:

Hi all

I wanted to make a simple script to make a resized image from an uploaded one.


See this page and...

http://www.educar.pro.br/abc/mathgd/index.php?xyz=18


zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Location ....

2005-12-31 Thread zerof

Christian Ista escreveu:

Hello,

Could you tell me a efficient solution for change page (new location) in
PHP? I tried this code : header("Location: mypage.php");


-
If you are at Apache environment, the best choice is to redirect 301 our 
302 via .htaccess.


redirect 301 -> for pages/files permanently moved.
redirect 302 -> for pages/files temporaly moved.

Create one .htaccess ( or edit existing one ) at your root server.

Place the code line in the .htacess:


redirect 301 /folder_to/old_file.html http://www.yoursite.com/new_file.html

For a new redirect, skip one line.

Upload the .htaccess and try to reach the old file via browser.


zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Image size?

2006-01-11 Thread zerof

William Stokes escreveu:

Hello,

Can I get pixel sizes from a uploaded web applicable image with PHP? I mean 
width and height as pixels. If  so How?


Thanks
-Will 

--
http://www.educar.pro.br/abc/mathgd/index.php?xyz=30

zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Image size?

2006-01-11 Thread zerof


what would the chance be that the OP actually knows Portuguese and could 
read that? 

---
I don't know what is the chance, but the example in this page doesn't 
requires to know portuguese.

Sorry if you don't speak portuguese. Sorry for my poor english.

zerof

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php