[PHP-WIN] Re: PHP application URL

2003-06-27 Thread Raul IONESCU
in fact better solution would be

$url = 'http://'.$_SERVER['HTTP_HOST'];

$url .= 
isset($_SERVER['REQUEST_URI'])?$_SERVER['REQUEST_URI']:(empty($_SERVER['QUERY_STRING'])?$_SERVER['PATH_INFO']:($_SERVER['PATH_INFO'].'?'.$_SERVER['QUERY_STRING']));
 
don't think so?

-
Raul IONESCU - IT Technician & WebMaster
LYNX Fil Impex (www.lynx.ro)
Art Business Romania (www.artbusinessromania.com)
e-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
Tel/Fax:  +4021 3103002, +4021 3159230, +4021 3145190, +4021 3143875
"Cristian Marin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> To know the full URL of a called page you can use this:
> 
> $url='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'] ;
> 
> After this with preg_replace you can do what ever you want to with the URL.
> 
> -- 
> -
> Cristian MARIN - Developer
> InterAKT Online (www.interakt.ro)
> Tel: +4021 312.53.12
> Tel/Fax:  +4021 312.51.91
> [EMAIL PROTECTED]
> "Thai Thanh Ha" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> >
> >  Hi all,
> >
> >  I want to get the URL of my application (and don't want to define it in a
> > config file - I don't like telling my customers to config the app, even
> run
> > some install.php file). Anyone has code for this? I know that in generally
> I
> > cannot use a PHP function for this because we don't have true "PHP web
> > applications" (like Java-based web applications) ( and most of the PHP
> > applications define constants, like APP_BASE_URL,...). But I guess if I
> put
> > a special file (like "APP_ROOT") in my base application directory, I can
> > find out the application URL from the URL of the requested file and file
> > path of the requested file (The code for determining URL can be put in
> > another PHP file and be included). Anyone have code like this? Please help
> > me. Thanks in advance.
> >
> >  Thai
> 
> 

[PHP-WIN] combo boxes

2003-07-22 Thread Raul IONESCU



 Be more specific. Send HTML code. If it is what I think you ment then the problem is 
very easy solved through JavaScript and MySQL querryies (and PHP of course, but 
basically JavaScript is most important part).
 
 -
 Raul IONESCU - IT Technician & WebMaster
 LYNX Fil Impex (www.lynx.ro)
 Art Business Romania (www.artbusinessromania.com)
 e-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
 Tel/Fax:  +4021 3103002, +4021 3159230, +4021 3145190, +4021 3143875
 
 
> - Original Message - 
> From: "Isai Arasu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 22, 2003 10:10 PM
> Subject: [PHP-WIN] combo boxes
> 
> 
> > I have comboboxes filled dynamically using PHP
> > scripts, when i change the selection all my form
> > fields' values must be changed (pulled from database).
> > How do i do that. I m using Apache.
> > 
> > Isai.
> > 
> > __
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site design software
> > http://sitebuilder.yahoo.com
> > 
> > -- 
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> >

[PHP-WIN] network shares

2004-02-24 Thread Raul IONESCU
   Hello list,
 
   Could someone help me to figure out how can I access network shares from
   Windows 200 Active Directory from IIS server running PHP 4.3.4 as CGI with
   Windows Integrated Authentication activated?
 
   Best regards,
   Raul


---
Cauta-ti perechea pe http://dating.acasa.ro


Re: [PHP-WIN] Re: Mething of Tracing PHP Script on Windows

2004-04-20 Thread Raul IONESCU
   Where? What did you find?
   I'm also interested of this!
 
   Thanks!
   Raul
 
   .I found what I needed, thanks.
   .--
   .Regards,
   .Stan Shaw [EMAIL PROTECTED]
   .Phone: (413) 599-0399 Fax: (413) 599-0421
   .Excell.Net Owner/Operator http://www.Excell.Net/
   .928 Owners Club President http://www.928OC.org/
   .928Racing.net Team Member http://www.928Racing.net/
 
   ."Liberty once lost is lost forever." - John Adams
   ."Stan Shaw" <[EMAIL PROTECTED]> wrote in message
   .news:[EMAIL PROTECTED]
   .> I inherited a website script that is not functioning properly. Is there
   a
   .> PHP trace function of some type that will allow me to see the generated
   .code
   .> of the "if" statements and "variables"?
   .> --
   .> Regards,
   .> Stan Shaw [EMAIL PROTECTED]
   .> Phone: (413) 599-0399 Fax: (413) 599-0421
   .> Excell.Net Owner/Operator http://www.Excell.Net/
   .> 928 Owners Club President http://www.928OC.org/
   .> 928Racing.net Team Member http://www.928Racing.net/
   .>
   .> "Liberty once lost is lost forever." - John Adams
 
   .--
   .PHP Windows Mailing List (http://www.php.net/)
   .To unsubscribe, visit: http://www.php.net/unsub.php
 
   .---
   .Lucram pentru tine. Analizam. Cautam zilnic.
   .Alegem ceea ce te intereseaza. Te anuntam.
   .http://www.REDUCERI.ro/


---
Lucram pentru tine. Analizam. Cautam zilnic.
Alegem ceea ce te intereseaza. Te anuntam.
http://www.REDUCERI.ro/


[PHP-WIN] PHP listing windows hidden shares

2004-07-05 Thread Raul IONESCU
   Hi everyone!
 
   I wonder if there are any solution to find windows hidden shares for a
   remote (LAN / intranet) computer


---
Incearca acum noul sistem de dating oferit de portalul acasa.ro


[PHP-WIN] PHP listing windows hidden shares - Heeeeeeeeelp

2004-07-05 Thread Raul IONESCU
   Hi everyone!
 
   I wonder if there are any solution to find windows hidden shares (c$,
   admin$, and so on) for a remote LAN computer
   In ASP works perfectly within a Visual Basic IIS application but IT'S IN
   ASP AND I WOULD REALLY LIKE TO DO IT IN PHP, NOT ASP !!
   Please respond to me, also to my e-mail address, not only mailing list
   because it seems I have a problem, for the moment, receiving mail from
   list.
 
   Thank you!
 
   Raul


---
Incearca acum noul sistem de dating oferit de portalul acasa.ro


[PHP-WIN] PHP5

2004-07-16 Thread Raul IONESCU
   Does anyone know were I can find ZIP and PRINTER dll extensions for PHP5?


---
Incearca acum noul sistem de dating oferit de portalul acasa.ro


Re: Re: [PHP-WIN] PHP5

2004-07-16 Thread Raul IONESCU
   I founded what I nedd at http://kromann.info/
   Anyway thanks for replay...
 
   .Try pecl.php.net. A lot of exts went there ( not being included in the
   .release bundle).
 
   .-Mike
 
   .On Fri, 16 Jul 2004, Raul IONESCU wrote:
 
   .> Date: Fri, 16 Jul 2004 15:31:06 +0300
   .> From: Raul IONESCU <[EMAIL PROTECTED]>
   .> To: [EMAIL PROTECTED]
   .> Subject: [PHP-WIN] PHP5
   .>
   .> Does anyone know were I can find ZIP and PRINTER dll extensions for
   PHP5?
   .>
   .>
   .> ---
   .> Incearca acum noul sistem de dating oferit de portalul acasa.ro
   .>
 
   .---
   .Incearca acum noul sistem de dating oferit de portalul acasa.ro


---
Incearca acum noul sistem de dating oferit de portalul acasa.ro


[PHP-WIN] PHP 5 error

2004-07-20 Thread Raul IONESCU
   Hello,
   Can anyone help me figure out what is happening?
 
   Ia**ve tried to install PHP 5 ont Windows 2000 Server, IIS 5, in following
   conditions:
   -all files from php/ext/ folder copied into c:\winnt\system32
   -all files from php/ folder copied into c:\winnt\system32
   -copied php.ini into c:\winnt and modified paths from extensions and
   session folders correctly.
   -mapped .php extension with php5isapi.dll
   -the virtual directory application is running under credentials of a
   domain user, not IUSR_a*|
 
   After all of that all I get is something likea*|.
   a**PHP encounter an a*|a*| at a*|..a**
 
   I think is a PHP 5 bug, because the same configuration but with PHP 4.3.8
   works perfectly.
 
   Can anyone help me?


---
Incearca acum noul sistem de dating oferit de portalul acasa.ro


[PHP-WIN] PHP 5 error

2004-07-20 Thread Raul IONESCU
   Hello,
   Can anyone help me figure out what is happening?
 
   I've tried to install PHP 5 ont Windows 2000 Server, IIS 5, in following
   conditions:
   -all files from php/ext/ folder copied into c:\winnt\system32
   -all files from php/ folder copied into c:\winnt\system32
   -copied php.ini into c:\winnt and modified paths from extensions and
   session folders correctly.
   -mapped .php extension with php5isapi.dll
   -the virtual directory application is running under credentials of a
   domain user, not IUSR_...
 
   After all of that all I get is something like...
   "PHP encounter an ... at ..."
 
   I think is a PHP 5 bug, because the same configuration but with PHP 4.3.8
   works perfectly.
 
   Can anyone help me?


---
Incearca acum noul sistem de dating oferit de portalul acasa.ro


Re: Re: [PHP-WIN] Help required for developing word reports.

2004-09-06 Thread Raul IONESCU
   My method:
 
   First of all you must have MS Word installed on the Web Server.
   After you generated mht report you must convert to DOC format:
 
   $wordApp=new COM("Word.Basic");
   $wordApp->FileOpen ("c:\html-report.mht")
   $wordApp->FileSaveAs ("c:\word-document.doc")
   $wordApp->FileClose 2
 
   then you output the DOC file to be downloaded or opened.
 
   Raul IONESCU
 
   .Does this link help?
   .
   .http://www.phpbuilder.com/columns/yunus20031124.php3?page=1
 
   .CBharadwaj <[EMAIL PROTECTED]> wrote:
 
   .I can vey well generate reports in HTML formats. I want to generate only
   on MS WORD as it is a requirement of my client..
   .I have to do accordingly. I did not get your Question " Does this article
   help ?".
 
   .Bye
   .Bharadwaj.
   .- Original Message -
   .From: [EMAIL PROTECTED]
   .To: CBharadwaj ; Gryffyn, Trevor
   .Cc: [EMAIL PROTECTED]
   .Sent: Saturday, September 04, 2004 2:30 AM
   .Subject: Re: [PHP-WIN] Help required for developing word reports.
 
   .does this article help? just to get you thinking... why do you *need*
   word? are there any other reasonable alternatives? could you format html
   so that it would print like word would print it?
 
   .CBharadwaj wrote:
   .Dear All,
 
   .I want to developing reports using PHP.
   .These reports i have to develop on MS WORD.
 
   .I have a database with multiple records
 
   .VAL 1 | VAL 2
   .-
   .VAL3 | VAL 4
   .
   .VAL 5 | VAL 6
   .How to print these multiple rows on word in this format.
 
   .Thanks in advance.
   .Bharadwaj.
 
   .--
   .PHP Windows Mailing List (http://www.php.net/)
   .To unsubscribe, visit: http://www.php.net/unsub.php
 
   .--
   .Do you Yahoo!?
   .New and Improved Yahoo! Mail - Send 10MB messages!
 
   .-
   .Do you Yahoo!?
   .New and Improved Yahoo! Mail - 100MB free storage!
 
   .---
   .http://www.videomax.ro/ - Cautam cinefili pentru premiere!


---
http://www.videomax.ro/  -  Cautam cinefili pentru premiere!


[PHP-WIN] Question......

2004-10-25 Thread Raul IONESCU
   I wonder if it's possible to access php functions from inside dlls from
   Visual Basic or Visual C?
   Any ideas?


---
Castiga un telefon cu Personalitate! Exclusiv pentru femei, exclusiv pe ele.ro!


Re: [PHP-WIN] Re: PHP e file zip

2004-11-05 Thread Raul IONESCU
   IN ENGLISH PLEASE!!!
 
   .PclZip
   .http://www.phpconcept.net/pclzip/index.en.php
 
   .Barbablu wrote:
 
   .> Mauro Griffa ha scritto:
   .>> Ciao,
   .>> qualcuno sa come si pu? decomprimere un file zip presente sul server
   usando
   .>> uno script PHP?
   .>>
   .>> grazie per l'aiuto
   .>> Mauro
 
   .> Ciao,
   .> per php5(come modulo)+apache2
   .> 1. guarda nella sottocartella '/ext' della tua distribuzione di php per
   .> file php_zip.dll
 
   .> 2. se fosse necessario scarica 'collection of PECL modules for
   php5.x.x'
   .> dalla pagina di download 'http://it.php.net/downloads.php' e decomprimi
   .> php_zip.dll nella tua cartella delle estensioni
 
   .> 3. aggiungi stringa extension=php_zip.dll (c:windowsphp.ini)
 
   .> 4. riavvia apache
 
   .> 5. pronto, MA:
 
   .> 6. nel caso pi? comune tuo_script.php e tuo_arcivio.zip si trovano
   nella
   .> stessa cartella. funzione zip_open('tuo_arcivio.zip') ti communica
   .> 'Warning: zip_open() [function.zip-open]: Cannot open zip archive...'
 
   .> 7. devi usare zip_open(getcwd().'tuo_arcivio.zip')
 
   .> funziona:)
 
   .--
   .PHP Windows Mailing List (http://www.php.net/)
   .To unsubscribe, visit: http://www.php.net/unsub.php
 
   .---
   .Castiga un telefon cu Personalitate! Exclusiv pentru femei, exclusiv pe
   ele.ro!


---
Castiga un telefon cu Personalitate! Exclusiv pentru femei, exclusiv pe ele.ro!


[PHP-WIN] create and download file from php through ssl

2005-01-28 Thread Raul IONESCU
   Hi everyone
 
   Does anyone know how to output a file (which is automatically downloaded
   under normally http protocol by using HTTP headers) through SSL?
   I suppose by using CURL but Ia**m not sure how.


---
Posteaza gratuit anunturi de orice dimensiune si ai audienta de sute de mii, 
lunar.


[PHP-WIN] create and download file from php through ssl

2005-02-01 Thread Raul IONESCU
   Does anyone know how to output a file (which is automatically downloaded
   under normally http protocol by using HTTP headers) through SSL?
   I suppose by using CURL but Ia**m not sure how.


---
Posteaza gratuit anunturi de orice dimensiune si ai audienta de sute de mii, 
lunar.


Re: [PHP-WIN] system() on Windows 2003

2005-02-11 Thread Raul IONESCU
   You shoud type system('cmd /c 'copy /b prnfile lpt4:', $result);
   in order to work.
 
   .I have a script that calls:
   . system('copy /b prnfile lpt4:', $result);
   .or:
   . system('type prnfile > lpt4', $result);
   .the result is '1' and it doesn't send it to lpt4.
   .I have tried:
   . system('type prnfile', $result);
   .the result of that is '0' and it puts all the info in the file on the
   .browser screen.
 
   .I have tried a number of commands in there it seems that the commands
   that
   .only require 'read' permissions work but when they need to 'write' to
   .something it fails.
 
   .I think that this is a permissions issue but I can't figure out where to
   set
   .what permission
 
   .Has anyone had any experiance making PHP talk directly to a LPT port? so
   I
   .an avoid this problem all togeather?
   .I tried to do that when I wrote this script but was unsuccessful. this
   same
   .script works on a 2000 box but with 2003's new security it causes a
   problem
 
   .anyone have any ideas?
 
   .anyone have any ideas?
 
   .--
   .PHP Windows Mailing List (http://www.php.net/)
   .To unsubscribe, visit: http://www.php.net/unsub.php
 
   .Publicitate:
   .---
   .Doar 3,999lei/absorbant?
   .http://www.always.ro/duoaction.html


Publicitate:
---
Doar 3,999lei/absorbant?
http://www.always.ro/duoaction.html


Re: RE: [PHP-WIN] system() on Windows 2003

2005-02-14 Thread Raul IONESCU
   I'm sorry for the mispell; the correct version is without ' before copy:
   system('cmd /c copy /b prnfile lpt4:', $result);
 
   .That gives me the same result
 
   .
 
   .____
 
   .From: Raul IONESCU [mailto:[EMAIL PROTECTED]
   .Sent: Friday, February 11, 2005 1:51 AM
   .To: Jason Beaver; php-windows@lists.php.net
   .Subject: Re: [PHP-WIN] system() on Windows 2003
 
   .
 
   .You shoud type system('cmd /c 'copy /b prnfile lpt4:', $result);
   .in order to work.
 
   ..I have a script that calls:
   .. system('copy /b prnfile lpt4:', $result);
   ..or:
   .. system('type prnfile > lpt4', $result);
   ..the result is '1' and it doesn't send it to lpt4.
   ..I have tried:
   .. system('type prnfile', $result);
   ..the result of that is '0' and it puts all the info in the file on the
   ..browser screen.
 
   ..I have tried a number of commands in there it seems that the commands
   .that
   ..only require 'read' permissions work but when they need to 'write' to
   ..something it fails.
 
   ..I think that this is a permissions issue but I can't figure out where
   .to set
   ..what permission
 
   ..Has anyone had any experiance making PHP talk directly to a LPT port?
   .so I
   ..an avoid this problem all togeather?
   ..I tried to do that when I wrote this script but was unsuccessful. this
   .same
   ..script works on a 2000 box but with 2003's new security it causes a
   .problem
 
   ..anyone have any ideas?
 
   ..anyone have any ideas?
 
   ..--
   ..PHP Windows Mailing List (http://www.php.net/)
   ..To unsubscribe, visit: http://www.php.net/unsub.php
 
   ..Publicitate:
   ..---
   ..Doar 3,999lei/absorbant?
   ..http://www.always.ro/duoaction.html
 
   .Publicitate:
 
   .
 
   .Doar 3,999lei/absorbant?
   .http://www.always.ro/duoaction.html
 
   .Publicitate:
   .---
   .Posteaza gratuit anunturi de orice dimensiune si ai audienta de sute de
   mii, lunar.


Publicitate:
---
Posteaza gratuit anunturi de orice dimensiune si ai audienta de sute de mii, 
lunar.


[PHP-WIN] PHP ugly bug

2005-03-14 Thread Raul IONESCU
I have created a stored procedure wich is accessing an remote linked MSSQL
2000 server and works perfectly from Querry Analyzer. The problem occurs
when I try to execute the stored procedure from php 5.0.3 (by using mssql_bind
or mssql_query); I've got no error but no result either. It seems that php
doesn't allows to access remote linked servers!


-- 
Raul IONESCU

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



[PHP-WIN] PHP ugly bug

2005-03-14 Thread Raul IONESCU
I have created a stored procedure wich is accessing an remote linked MSSQL
2000 server and works perfectly from Querry Analyzer. The problem occurs
when I try to execute the stored procedure from php 5.0.3 (by using mssql_bind
or mssql_query); I've got no error but no result either. It seems that php
doesn't allows to access remote linked servers!

------- 
Raul IONESCU

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



[PHP-WIN] PDF question

2005-10-10 Thread Raul IONESCU
Hi all,

Does anyone know how can I open an existing PDF file to get the text
content from it, into PHP???

Many, many thanks!

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



[PHP-WIN] PDF question

2005-10-11 Thread Raul . IONESCU
Hi all,

Does anyone know how can I open an existing PDF file to get the text
content from it, into PHP???

Many, many thanks! 


[PHP-WIN] PDF question

2005-10-11 Thread Raul . IONESCU
Hi all,

Does anyone know how can I open an existing PDF file to get the text
content from it, into PHP???

Many, many thanks! 


Re: [PHP-WIN] Re: Page-style data display system

2006-01-20 Thread Raul IONESCU
Or just try this: http://www.phpclasses.org/browse/package/2832.html
It's very easy to use.

On 1/20/06, Wayne Khan <[EMAIL PROTECTED]> wrote:
> Hi Daniel,
> You won't need something so complicated as PEAR or what.
>
> http://www.phpfreaks.com/tutorials/43/0.php
>
> Try out this tutorial. Its how I got my damned pagination code working. :)
>
> -Original Message-
> From: El Bekko [mailto:[EMAIL PROTECTED]
> Sent: Sunday, January 15, 2006 5:58 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Re: Page-style data display system
>
> Daniel Anderson wrote:
> > Okay, I have a database table to which contains posts from people.
> > I want to retrieve these and post them in a linear format (as I currently
> have), but...! I want to have pages, each page has 50 rows from the database
> at a time.
> >
> > If I have 102 results, I want it to be separated into three pages.
> >
> > Page: 1, 2, 3
> >
> > The page link I want to be displayed in the URL as a variable: page=1
> (example).
> >
> > Each row is ordered with a primary key
> >
> > page=1will return the first 50 results (1 - 50)
> > page=2will return the next 50 results (51 - 100)
> > page=3will return the next two results (101 - 102)
> >
> > I want a system that will automatically do this. I want the page numbers
> to increase along with how many results are in the database. At the moment
> there are only three, but in time it will grow. So essentially it should
> start off at Page: 1, then increase as I hit the 50th entry.
> >
> > Is there anyone who can help me with this?
> > If you need more detail, please email me and I'll try to explain more
> in-depth!
> >
> > Many thanks!
> > I hope you can help!
> >
> > Thanks for your time all!
> >
> > ~Dan
>
> Try something to the likes of this:
>
> 
> $pageid = intval($_GET['page']);
> $startlimit = ($pageid - 1) * 50;
> $endlimit   =  $pageid * 50;
>
> mysql_query("SELECT * FROM yourtable LIMIT $startlimit , $endlimit");
>
> ?>
>
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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