Have you tried to read the manual ?
There is a lot of info on how to do this.
Anyway, I think this does the trick :
if ($handle = opendir('FULLPATHNAME')) {
while (false !== ($file = readdir($handle))) {
if ($file != "." && $file != "..") {
At this point, $file contains the file name.
On
You send way too much info, forcinf people to read through all of it, to
understand your way of thinking and your problem.
Keep it simple.
Anyway, I think there is something wrong in here
$sql = "SELECT furn_pic";
$sql .= "FROM crost";
$sql .= "WHERE item_num = $item_num";
$result = mysql_q
On Mon, 21 Feb 2005 09:02:21 +, Luis Moreira
<[EMAIL PROTECTED]> wrote:
> Have you tried to read the manual ?
> There is a lot of info on how to do this.
> Anyway, I think this does the trick :
>
> if ($handle = opendir('FULLPATHNAME')) {
> while (false !== ($file = readdir($handle))) {
>
Hi,
First run
phpinfo(); funciton in one of your script then look for the path of
php.ini in the out put of your script,
one you know where is php.ini ... you can read that, there are lot of
instructions as comments.
zareef ahmed
On Sun, 20 Feb 2005 15:29:14 -, christian tischler
<[EMAIL PR
Hi,
Please help...
I think my php.ini is at fault but maybe it is something different.
when i pass on more than one argument in the url they are seperated by %0F%
rather than &. Whatever i tried i cannot change that and therefor use more
than one argument???
Thanks
Christian
--
PHP Windows
I am not sure I understand your problem.
The separation of parameters is something YOU do, not PHP.
An example of a call would be
http://www.test.com/script.php?name=Luis&state=active
to call SCRIPT.PHP with parameters "name" and "state".
christian tischler wrote:
Hi,
Please help...
I think my php.
help again, please.
I asume it is a problem with php.ini but cookies don't work for my website.
can anyone tell me the right configuration or the php.ini to make cookies
work.
Thanks
Christian
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
Christian,
Does the data handling part of php.ini look like the following?
###
;
; Data Handling ;
;
;
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
; The separator used in PHP generated URLs to separate arguments.
; Default is "&".
;arg_separator.output
I want to be able to run the .NET example at:
http://at.php.net/manual/en/class.dotnet.php
When I tried it on my Win XP Pro, SP2 machine using
the CLI (command line) version of PHP I got:
Fatal error: Uncaught exception 'com_exception' with message
'Failed to init .Net runtime [CoCreateInstance] C
Thanks for information on this one. I am putting print
statements in after my sql and getting more details
about the problem. I proceeded to put spaces infront
of my "from" & "where" statements. I am still getting
a sql error, but I think it is past the prior trouble
spot. Now, I get "Resource id #
Christian Tischler wrote:
> help again, please.
>
> I asume it is a problem with php.ini but cookies don't work for my website.
>
> can anyone tell me the right configuration or the php.ini to make cookies
> work.
>
> Thanks
>
> Christian
Cookies require two parts: the server and the browser
Hi
"application/msword" will do it.
Regards,
Christophe Deliens -- get2future
Dale Attree wrote:
Hi,
I have saved the content of an uploaded MS Word document into a database
table.
Now I would like to output the content without recreating the file on the
harddrive.
I believe I will have to use head
I *think* Zend Studio does that.
-> http://www.zend.com/store/products/zend-studio.php
Chris.
Jim MacDiarmid wrote:
Hi everyone,
I'm not sure if the software I'm looking for exists, but I was wondering if
there is a PHP IDE or utility program that has the functionality to
read/index php and html
Hi,
Including with "/something.php" will in fact include "c:\something.php".
The root in PHP is NOT the website directory but the drive the sites
resides on.
Tip: define a constant set to your website's root, and use that root in
every include, so that it's absolute and no longer relative.
Tip2:
Please send messages to the newsgroup... not to my personal mailbox.
Original Message
Subject: Re: php.ini - cookies
Date: Mon, 21 Feb 2005 16:56:53 -
From: Christian Tischler <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Thanks for that.
I have tried your suggestions but no
Yes,
You can do that using frames.
You should have a frameset with 2 frames, one of 1px high which reloads
itself every minute (and with the "1h logic")
The other one with your online test.
Hope this helps,
Christophe Deliens -- get2future
Veselina Jecheva wrote:
Hello, everyone,
I have to make a
Hi,
You can use the header "Content-Disposition: inline", followed by
"Content-Type: application/pdf".
Then you can output your PDF file using readfile($pathToPdfFile) or
print(file_get_contents($pathToPdfFile))
Hope this helps!
Christophe Deliens -- get2future
Ron Herhuth wrote:
I am writing a
Thanks for that.
I have tried your suggestions but no succes.
I asume it's a server issue.
I have the same wesite on a webserver of my ISP and it's works fine
there.
Christian.
"Jason Barnett" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://ww
Ok,
I restarted the web server but I am still getting the same error. I've
uncommented the MSSQL server extension and restarted the server.
Is my build version not compiled to run the extensions? Also, Are there
build options that I can use to increase the performance of php?
This really has
you need to put all of your HTML and such in the *.php file. That is
the only way it will work inline
On Sat, 19 Feb 2005 08:30:02 -0500, Frank <[EMAIL PROTECTED]> wrote:
> php runs from .php modules but not inline as add a server extension to handle the scripting, but I can't for the life
Vaibhav Sibal wrote:
> I wanted to ask whether there is a way whereby a script can read
> filenames from a particular directory on the server and enter those
> filenames with the complete path into the MySQL database? I am trying
> to do this, because I am developing an application where a supervis
The instructions state that php_mysql.dll is included in either the pecl
extension package, or the installer itself (not sure, it wasn't clear).
After installing this dll is no where to be found... neither is
libmySQL.dll as the docs say it is.
All I see is php_pdo_mysql.dll, i tried using this b
well, they should be available via PECL (php_mysql.dll that is),
libmysql should be in the download of the main product. As for
php_pdo_mysql.dll, you'll need php_pdo.dll running aswell, and then use
the PDO functions:
http://www.php.net/manual/en/ref.pdo.php
Jimbus wrote:
The instructions stat
23 matches
Mail list logo