php-windows Digest 18 Apr 2008 04:51:01 -0000 Issue 3458

Topics (messages 28859 through 28867):

PECL SVN Extension Setup Help
        28859 by: Jake Conk
        28860 by: John Mertic
        28861 by: Elizabeth M Smith
        28862 by: Jake Conk
        28863 by: Jake Conk
        28864 by: Elizabeth M Smith
        28865 by: Jake Conk

Re: ÓÔ. ÍÅÔÒÏ ôÉÍÉÒÑÚÅ×ÓËÁÑ ÉÌÉ äÍÉÔÒÏ×ÓËÁÑ, ÓÄÁÅÔÓÑ
        28866 by: çÒÏÍÅÎËÏ

Re: Upload Files!
        28867 by: Jeremy O'Connor

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

I tried installing the pecl svn extension but I get an error.

This is the command I ran along with all the output:

--------------------------------------------------------------------------------

> pecl install svn-beta
downloading svn-0.3.tgz ...
Starting to download svn-0.3.tgz (20,274 bytes)
...... done: 20,274 bytes
4 source files, building
ERROR: The DSP svn.dsp does not exist

--------------------------------------------------------------------------------

I am using php 5.2.5 on windows xp. Any help would be greatly appreciated.

Thanks,

- Jake

--- End Message ---
--- Begin Message ---
You should grab the pre-complied extension from
http://pecl4win.php.net/list.php instead. Use pecl install tried to
compile it locally, which you aren't set up for.

John

On Wed, Apr 16, 2008 at 1:41 PM, Jake Conk <[EMAIL PROTECTED]> wrote:
> Hello,
>
>  I tried installing the pecl svn extension but I get an error.
>
>  This is the command I ran along with all the output:
>
>  
> --------------------------------------------------------------------------------
>
>  > pecl install svn-beta
>  downloading svn-0.3.tgz ...
>  Starting to download svn-0.3.tgz (20,274 bytes)
>  ...... done: 20,274 bytes
>  4 source files, building
>  ERROR: The DSP svn.dsp does not exist
>
>  
> --------------------------------------------------------------------------------
>
>  I am using php 5.2.5 on windows xp. Any help would be greatly appreciated.
>
>  Thanks,
>
>  - Jake
>
>  --
>  PHP Windows Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
John Mertic
[EMAIL PROTECTED]
http://jmertic.wordpress.com

"Explaining a joke is like dissecting a frog: you understand it
better, but the frog dies
in the process." --Mark Twain

--- End Message ---
--- Begin Message ---
Jake Conk wrote:
> Hello,
> 
> I tried installing the pecl svn extension but I get an error.
> 
> This is the command I ran along with all the output:
> 
> --------------------------------------------------------------------------------
> 
>> pecl install svn-beta
> downloading svn-0.3.tgz ...
> Starting to download svn-0.3.tgz (20,274 bytes)
> ...... done: 20,274 bytes
> 4 source files, building
> ERROR: The DSP svn.dsp does not exist
> 
> --------------------------------------------------------------------------------
> 
> I am using php 5.2.5 on windows xp. Any help would be greatly appreciated.
> 
> Thanks,
> 
> - Jake

Hmmm - that's not the way to install pecl extensions on windows.

First of all you need to install subversion - since the svn php
extension is a wrapper.

Second you need to get a svn extension binary - php_svn.dll

Are you using the thread safe or non-thread safe version of php?
Grab the appropriate pecl pack from http://php.net/downloads and this
item should be inside.  Place php_svn.dll in your php extensions directory.

Finally you need to edit your php.ini, adding the line
extension=php_svn.dll where your other extensions are enabled.  Then
restart your server.

Thanks,
Elizabeth Smith

--- End Message ---
--- Begin Message ---
Oh wow I didn't know there were pre-compiled extensions already for
windows. One problem though is the latest version they have the
extensions compiled for is PHP 5.2.1 and I am running PHP 5.2.5 here
and PHP 5.3.0 at home. If I use an extension compiled for PHP 5.2.1 on
either of those versions that I am using couldn't that produce some
unexpected results? What do you advise I should do?

Thanks,
- Jake

On Wed, Apr 16, 2008 at 10:56 AM, John Mertic <[EMAIL PROTECTED]> wrote:
> You should grab the pre-complied extension from
>  http://pecl4win.php.net/list.php instead. Use pecl install tried to
>  compile it locally, which you aren't set up for.
>
>  John
>
>
>
>  On Wed, Apr 16, 2008 at 1:41 PM, Jake Conk <[EMAIL PROTECTED]> wrote:
>  > Hello,
>  >
>  >  I tried installing the pecl svn extension but I get an error.
>  >
>  >  This is the command I ran along with all the output:
>  >
>  >  
> --------------------------------------------------------------------------------
>  >
>  >  > pecl install svn-beta
>  >  downloading svn-0.3.tgz ...
>  >  Starting to download svn-0.3.tgz (20,274 bytes)
>  >  ...... done: 20,274 bytes
>  >  4 source files, building
>  >  ERROR: The DSP svn.dsp does not exist
>  >
>  >  
> --------------------------------------------------------------------------------
>  >
>  >  I am using php 5.2.5 on windows xp. Any help would be greatly appreciated.
>  >
>  >  Thanks,
>  >
>  >  - Jake
>  >
>  >  --
>  >  PHP Windows Mailing List (http://www.php.net/)
>  >  To unsubscribe, visit: http://www.php.net/unsub.php
>  >
>  >
>
>
>
>  --
>  John Mertic
>  [EMAIL PROTECTED]
>  http://jmertic.wordpress.com
>
>  "Explaining a joke is like dissecting a frog: you understand it
>  better, but the frog dies
>  in the process." --Mark Twain
>

--- End Message ---
--- Begin Message ---
Elizabeth,

Thanks for your detailed setup instructions. I have a few questions. I
am running the PHP 5.2.5 here for Apache 2, I got this all setup by
just downloading the latest wamp package from
http://www.wampserver.com so how do I figure out if I'm running a
threaded or non-threaded version of PHP?

Also, you said the svn extension is just a wrapper. Does that mean its
just calling svn commands on my computer and not really using SVN code
to communicate with the SVN servers?

Thanks,
- Jake


On Wed, Apr 16, 2008 at 11:01 AM, Elizabeth M Smith
<[EMAIL PROTECTED]> wrote:
>
> Jake Conk wrote:
>  > Hello,
>  >
>  > I tried installing the pecl svn extension but I get an error.
>  >
>  > This is the command I ran along with all the output:
>  >
>  > 
> --------------------------------------------------------------------------------
>  >
>  >> pecl install svn-beta
>  > downloading svn-0.3.tgz ...
>  > Starting to download svn-0.3.tgz (20,274 bytes)
>  > ...... done: 20,274 bytes
>  > 4 source files, building
>  > ERROR: The DSP svn.dsp does not exist
>  >
>  > 
> --------------------------------------------------------------------------------
>  >
>  > I am using php 5.2.5 on windows xp. Any help would be greatly appreciated.
>  >
>  > Thanks,
>  >
>  > - Jake
>
>  Hmmm - that's not the way to install pecl extensions on windows.
>
>  First of all you need to install subversion - since the svn php
>  extension is a wrapper.
>
>  Second you need to get a svn extension binary - php_svn.dll
>
>  Are you using the thread safe or non-thread safe version of php?
>  Grab the appropriate pecl pack from http://php.net/downloads and this
>  item should be inside.  Place php_svn.dll in your php extensions directory.
>
>  Finally you need to edit your php.ini, adding the line
>  extension=php_svn.dll where your other extensions are enabled.  Then
>  restart your server.
>
>  Thanks,
>  Elizabeth Smith
>
>  --
>
>
> PHP Windows Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
Jake Conk wrote:
> Elizabeth,
> 
> Thanks for your detailed setup instructions. I have a few questions. I
> am running the PHP 5.2.5 here for Apache 2, I got this all setup by
> just downloading the latest wamp package from
> http://www.wampserver.com so how do I figure out if I'm running a
> threaded or non-threaded version of PHP?
> 
> Also, you said the svn extension is just a wrapper. Does that mean its
> just calling svn commands on my computer and not really using SVN code
> to communicate with the SVN servers?
> 
> Thanks,
> - Jake
> 
> 

No - by a wrapper it means it's talking in C to the svn client libs.  If
you're using apache2 then you have the thread safe or normal php
compile.  I really would suggest you use the official PHP installer and
apache installer instead of wamp, which we don't really provide support
for - the php installer allows you to choose the extensions you want to
use...  if you have additional trouble please contact wamp.

Thanks,
Elizabeth

--- End Message ---
--- Begin Message ---
I tried using the normal php installer as my initial attempt but
apache wouldn't start with php so I just got something that is just
prepackaged. I don't think there is much of a difference between their
php and the php on the website besides it just works out of the box
with apache.

Thanks for you help.

On Wed, Apr 16, 2008 at 11:42 AM, Elizabeth M Smith
<[EMAIL PROTECTED]> wrote:
> Jake Conk wrote:
>  > Elizabeth,
>  >
>  > Thanks for your detailed setup instructions. I have a few questions. I
>  > am running the PHP 5.2.5 here for Apache 2, I got this all setup by
>  > just downloading the latest wamp package from
>  > http://www.wampserver.com so how do I figure out if I'm running a
>  > threaded or non-threaded version of PHP?
>  >
>  > Also, you said the svn extension is just a wrapper. Does that mean its
>  > just calling svn commands on my computer and not really using SVN code
>  > to communicate with the SVN servers?
>  >
>  > Thanks,
>  > - Jake
>  >
>  >
>
>  No - by a wrapper it means it's talking in C to the svn client libs.  If
>  you're using apache2 then you have the thread safe or normal php
>  compile.  I really would suggest you use the official PHP installer and
>  apache installer instead of wamp, which we don't really provide support
>  for - the php installer allows you to choose the extensions you want to
>  use...  if you have additional trouble please contact wamp.
>
>  Thanks,
>  Elizabeth
>
>  --
>
>
> PHP Windows Mailing List (http://www.php.net/)
>  To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
В пяти-семи минутах ходьбы от легкого метро Тимирязевская на огороженной 
территории площадью 0,4 га сдается отдельно стоящее 3-х этажное здание 
(особняк) свободного назначения общей площадью 
1435 м. кв. в том числе:

           
- надстройка 15O м.кв.
      - 3 этаж 366,8 м. кв. 
      
- 2 этаж 4О6,8 м. кв.
      
 - 1 этаж 406,8 м.кв.
      
- 
подвал 1O4 кв.м. в котором оборудованы кухня и столовая 
      
      
Цена за аренду договорная.   
Здание расположено на огороженной территории, площадью 0,4 га, с имеющимися 
местами для автостоянки на 20 м/мест. 
  Имеются: 2 линии МГТС, центральные отопление, канализация и 
кондиционирование. Выделенная мощность 110 квт/час.
Контактные телефоны:
  
+7 (499) 76015519б
  8 (916) 296Iб2I87 Галина
  +7 (985) 3б4178I8 Андрей Юрьевич

--- End Message ---
--- Begin Message ---
"Jarrett Meyer" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Files and all associated properties are saved in the $_FILES[] variable. 
> From here, you can get the file name, file size, etc.
>
> I would recommend that you come up with your own name for the file. My 
> code may not be right, but it will be close.
>
> $LocalFilePath = /path/to/local/files/
> $LocalFileName = md5($_FILES[<formfield>]["name"]);
>
> // perform an action to save the file locally.
>
> Assuming that you have the user name from the session data,
>
> $Sql = "insert into UserFiles
> (User, Filename, Extension, Date)
> values
> ($_SESSION["user"]
> ,$LocalFileName
> ,$_FILE[<formfield>]["type"]
> ,time())";
>
> Now you've got a database of all files saved by user.
>
> See http://us3.php.net/features.file-upload for more info about the 
> $_FILES variable.
>
> Jarrett M
>
> Matthew Gonzales wrote:
>> Hello,
>>
>> I am wondering if anyone out might be able to point me in the right 
>> direction on uploading files from a website into MySQL Databses. I am 
>> trying to create a way for members to upload files and associate them 
>> with there user profile. What data type must I use. Thanks for your help 
>> in advance.

Also the datatype can be BLOB, MEDIUMBLOB or LONGBLOB.

Jeremy O'Connor
-- 



--- End Message ---

Reply via email to