how to use Semaphore... through PHP...
please help me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Yes, it has that in there right out of the box like this:
LoadModule php4_modulemodules/libphp4.so
#
# AddType: allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
# The following is for PHP4 (conficts with PHP/FI, below):
Add
You can only do one file in each box - get a yahoo mail account and see how
they
handle file uploading.
Ivan Porro wrote:
> Hi,
>
> anyone know a simple way to realize multiple-upload at once (something
> like Msoft CTRL-multiple selection when browsing and uniqe Upload
> button). I've found on
As long as you're using the GET variables simply to pass along values (not
allowing the user to change the GET variables), you can stick the values
in the action property of your POST form and get the same result.
So the below code would become:
Hope this helps.
(Hello in Goshen...I gre
10X a lot !!!
Bye.
Andrew Hill wrote:
>
> Hi,
>
> A small correction, remote ODBC DSNs work fine with Access.
> It's simply a question of installing appropriate drivers.
>
> Best regards,
> Andrew
> --
> Andrew Hill - OpenLink Software
> Director Technolog
php4ud became PhAkt (http://www.interakt.ro/phakt)
Ovidiu
> -Original Message-
> From: Matt Williams [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 27, 2001 3:59 PM
> To: John Platte; John Monfort
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Ultradev PHP Server Model
>
>
>
> > > I was
Hi,
A small correction, remote ODBC DSNs work fine with Access.
It's simply a question of installing appropriate drivers.
Best regards,
Andrew
--
Andrew Hill - OpenLink Software
Director Technology Evangelism
Universal Data Access Integration
http://www.openl
> I would like to add a note to this, that this works in general, but
> the thing which actually triggers the setting of $HTTP_POST_RAW_DATA
> is a not recognized mime-type.
>
Aha! Blinding light of understanding - THANKYOU!
nik
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
At 4/27/2001 07:35 PM, Manesh wrote:
>I need a free web server that gives me 1 Myslq accound and php hoasting! if
>soneone know of any please tell me.
>
>thx
search php knowlegde base at www.faqts.com, you'll find a bunch
of such links there.
--
sh
--
PHP General Mailing List (http://www
try
error_reporting(E_ERROR);
on top of script. PHP 4 don't like variable (such i.e. variable checked
in if() ) before u declare or set them (i.e. in one-page only form
management.
by.
(note: u must be sure that the variable is used correctly! this only
kill the annoyng warning)
Manesh wrote:
I have been trying to get this to work for days and I'm confused. I want to
attach a Word document to an email. I found this code on php.net and I'm
trying to modify it to work. I get the email sent, the attached Word
document is filled with junk and not the document I'm trying to send.
Here is t
> Its my understanding that PHP appends the SID on the
> end of the URL regardless of weather its a form or not. If thats
> not happening for you, check your php.ini and make sure you
> have session.use_trans_sid enabled.
It is enabled. And it's being appended to most URLs (though, not
Hi,
www.mysql.com, and check the website for a myaccess or myodbc doc's. I
know (I dwnloaded it) that exist a myaccess plugin to save access dB to
mysql structure files.
>From php side you have a lot of classical dbfunction to access MSAccess
dB, simply using odbc_function and creating a ODBC Da
Its my understanding that PHP appends the SID on the end of the URL
regardless of weather its a form or not. If thats not happening for you,
check your php.ini and make sure you have session.use_trans_sid enabled.
"Boget, Chris" wrote:
>
> If you have PHP compiled with --enable-trans-s
Hi,
anyone know a simple way to realize multiple-upload at once (something
like Msoft CTRL-multiple selection when browsing and uniqe Upload
button). I've found only a multiple file input field in a form but the
numbers of file I'had to upload is unknow.
TIA
--
(p)Ivan
Student
DIST Bio-Lab
Vi
> > I was wondering, is anyone aware of a PHP server model, for Ultradev?
> >
> > Or, any leads on how I can create one?
> >
> > I'm developing a site with PHP+MS Access+Ultradev. I wanted to use some
> > of the Ultradev server model features (and convenience), but
> > they only support ASP/JSP/J
Hi,
I have a site, http://rayh.co.uk which is basically my personal home page
and nothing more than a hobby.
However, on the site, i am currently storing images in the database, purely
because i can. But i wonder, how much will the server load be affected when
pulling binary data out of the dat
Hi,
i suggest three:
o) Beginning PHP4 by Chris Lea et. al. Editors ISBN and so on at:
www.amazon.com/exec/obidos/search-handle-form/107-8101819-4534115
o) PHP poket reference by Rasmus Leedorf, O'Reilly. OK 4 a brief fuction
reference and fundamentals (it's the best choice when you learn
some
> If I run this form using IE, hitting the Return/Enter key submits the form
> but the 'ok' variable is not set; it just redraws the form. If however, I
> uncomment the third echo line (the one for Name2), then hitting the
> Return/Enter key does have the desired effect in IE. In NS, the first
Professional PHP by WROX. Great book. It provides you with some real world
examples.
Chad Angerer
HTML Programmer
Internet Broadcasting Systems
651.365.4006
-Original Message-
From: Hamed Nik [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 27, 2001 8:10 AM
To: [EMAIL PROTECTED]
Subject
Hi,
I've a w2k installation with Apache and it's a very fast and reliable
environment. Ok, still prefer Linux but... My machine is a celeron433
(just pushed to 507) and 128M ram, w2kpro eng. Hope this help you,
bye
Steve Maroney wrote:
>
> I think the question should be what's wrong with
> Wi
I would like to add a note to this, that this works in general, but
the thing which actually triggers the setting of $HTTP_POST_RAW_DATA
is a not recognized mime-type.
Bolke
-Oorspronkelijk bericht-
Van: nik [mailto:[EMAIL PROTECTED]]
Verzonden: Friday, April 27, 2001 3:04 PM
Aan: [EMAI
> Hey everyone...
>
> I've been programming in perl for about 3 years now, i have installed php
> and have been working on it for about three weeks. I started by converting
> some of the programs I've written in Perl to PHP it seems its pretty
> similar to Perl and not very hard to learn for a
Hey everyone...
I've been programming in perl for about 3 years now, i have installed php
and have been working on it for about three weeks. I started by converting
some of the programs I've written in Perl to PHP it seems its pretty
similar to Perl and not very hard to learn for a perl progr
>
> According to the w3c docs, POSTed content is sent in the "request
> entity body". Since the request has a header, it's logical that it can
> have a body too :-) but I don't see any PHP functionality for getting at
> it. Someone in another group suggested accessing a variable called
> $HTTP_R
Why not use classes? If I understand you problem correctly, I think classes
should solve your problem. Right?
SED
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: 27. apríl 2001 11:58
To: 'PHP General List. (E-mail)'
Subject: [PHP] Variable (naming them) Functions
Hiya,
> I have the following code that doesn't seem to "explode." I'm trying to make
> a field that looks like 21,23,25,27 or small,medium,large,x-large into a
> pulldown menu with the individual item broken out.
>
> if (($size != "") && ($size != "n/a")) {
>$sizearry = explode(",", $size);
Try http://members.evolt.org/
HTH
Jon
-Original Message-
From: Manesh [mailto:[EMAIL PROTECTED]]
Sent: 27 April 2001 13:35
To: Manesh; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] RE: What is this??
I need a free web server that gives me 1 Myslq accound and php hoasting! if
so
If you are compiling php as an apache module,
you may configure apache with the options:
--server-uid=asduk
and
--server-gid=asdukgrp
(or what you want..)
if you don't compile them at all, may try to
set the directory's group as asdukgrp like this:
chgrp asdukgrp -R path-to-your-php-scripts-dir
I need a free web server that gives me 1 Myslq accound and php hoasting! if
soneone know of any please tell me.
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administra
I need a free web server that gives me 1 Myslq accound and php hoasting! if
soneone know of any please tell me.
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
I have the following code that doesn't seem to "explode." I'm trying to make
a field that looks like 21,23,25,27 or small,medium,large,x-large into a
pulldown menu with the individual item broken out.
if (($size != "") && ($size != "n/a")) {
$sizearry = explode(",", $size);
while (list($key
I guess that this is worth a mention: (Copied from
http://www.php.net/manual/en/function.header.php)
"Remember that the header() function must be called before any actual output
is sent, either by normal HTML tags blank lines in a file, or from PHP. It
is a very common error to read code with incl
Thanks very much !!!
Rosen Marinov
"Simon Ould" <[EMAIL PROTECTED]> wrote in message
511B289BD436D41199AE0001021A9B5E05C5AB@SERVER">news:511B289BD436D41199AE0001021A9B5E05C5AB@SERVER...
> My interpretation of the problem is:
> You want a link on page A.php which points to B.php,
> B.php does so
got a typo in my previous post:
I was trying this:
$fname = 'hello';
function { sprintf("%s", $fname) }($fname='') {
Return "I named you : $fname";
}
echo $fname($fname);
But that doesn't matter...
Thanks,
waiting for your help.
Maxim Maletsky
Founder, Chief Developer
PH
you need to count all the elements in each of the elements. $x is a simple
array each member of which is an array
this should work for any array, although for some reason it falls over if
the array passed in hasn't been predfined as an array.
i.e.
... works
but ...
... doesn't. I haven't wor
Hello everyone:
I was wondering, does anyone of you know a method to declare a function
(give it a name) basing on a value acquired during run time?
I tried using the syntax as of a variable function call:
$fname = 'hello';
function { sprintf("%s", $fname) }($arg='') {
Retu
hi all,
i'm using PHP on a Win98 machine, and after switching session.auto_start=1,
PHP is enhancing every address with SessionID's; well, normally I'm
satisfied with this behaviour, but for a single page containing some
javascript I would like to have it turned it off. I red there is a compilin
Are you looking at the site the calling script is on? I had the same problem
spidering my site to build a search engine. Using "http://localhost/";
instead of the site address got it working.
I find that file() works fine on external pages but falls over (in exactly
the same way as yours) when ac
Are you referring to delay in executing PHP scripts? If you run PHP
as a CGI binary, that would give significant slowdown. CGI's are
much slower in Windows than in Linux.
Or perhaps you are running out of RAM? That really slows the whole
thing down.
Steve
At 4/27/2001 06:14 AM, Mig wrote:
>Hell
Hi!
can u please chek this url http://www.tekora.com/tekora.html
its a flash demo of an online site builder?
do u think we can create a site for someone that way online using ph (fast
template) ?
thanks
_
Get Your Private, Fr
On Thursday 26 April 2001 13:33, Rosen wrote:
> main.php:
> Click here
You need a good deal of beating if you do your markup like that. there are
something called a standard and that standard would make that line look like
this:
http://www.moijk.net/ | amusing? 3. Does it know its p
php-general Digest 27 Apr 2001 10:34:07 - Issue 652
Topics (messages 50523 through 50590):
Sizeof a multi-dimensional array??
50523 by: Chris Anderson
50556 by: Maxim Maletsky
Re: Ultradev PHP Server Model
50524 by: John Platte
50532 by: Andrew Hill
My interpretation of the problem is:
You want a link on page A.php which points to B.php,
B.php does some stuff, then redirects the user to page C.php
You want the value of HTTP_REFERER on page C.php to be A.php
Correct? If so, read on, if not, then delete this email.
I'm using php-4.0.4pl1, a
$days = ;
if ($days % 7 == 0) {
...then $days is divisible by seven;
} else {
...if is not;
}
the % is the modulus operator. basically divides left hand side by right
hand side and returns the remainder.
HTH
On Fri, 27 Apr 2001, Jacky wrote:
> - Original Message -
> From: Jacky
>
Any body know how to un-subscribe temporarily. As I am going out station
for 2 weeks. I want to stop all my PHP user group mails. (other wise there
will be big junk) But later again I want to restart.
If I un-subscribe now whether I will be able to subscribe again ?
manisha
--
PHP General
I write a script for dealing with a form and the algorithem will look like
this
if (isset($somthing)) {
the form is here and user input it
}
if($filter_in_the_form == 'something) {
print the 1st
}
elseif($all_condition_done == 'OK') {
print the 2nd
} else { print nothin
there is no pure fopen function available to connect to other site. because
basically fopen use to open file (file open). fopen in php just try to
facilite programmer with human friendly name, but inside, when the argument
is url, it'll make standard socket connection like any other tcp/ip
connet
Bertrand,
if you're serious about trying to get help for something, it would be very
helpful if you ask a more specific question, with code samples of what
you've done so far.
There are excellent tutorials on this subject, at http://www.phpbuilder.com,
http://www.phpbeginner.com, http://www.zend
> Hello, I can't understand the reason apache server running locally on my
> Win98 machine delays so much to respond browser when accesing php
> scripts in the form
>
> http://localhost/myscript.php
>
> When I transfer php scripts to host server via FTP, script execution is
> immediate, even remot
I need to write a script which extracts information POSTed by a
non-browser client, and stores it on the server. With a browser client
I could upload from with form elements and use the
PHP upload functions, but using a browser at the client end is not an
option here.
According to the w3c docs
You can try to had HostnameLookups off in your httpd.conf if it is not
already present.
More info at http://www.apache.org/DELETE_ME/mod/core.html#hostnamelookups
---
> Hello, I can't understand the reason apache server running locally on my
> Win98 machine delays so much to respond b
Hi
I just rewrote a website to use sessions all over the site. on one page
i used
output-compression just to test it. if i use MSIE everything just works
fine, BUT:
if i use Netscape WITHOUT cookies the PHP does not rewrite the relative
urls
here is the code of the page :
session_start();
fu
I need to run the if-construct below (containing a number of variables in
each "branch") using the 2 variables $table1 and $table2 in each run for
each combination
Is it array_walk or foreach ? (I "guess" that here I need a 2-dim-array, or
so, passing always these 2 variables with each run:
This
Use ob_start() at the top of script. (Before calling session_start()) It will do
what you want.
You may want to flush output buffer. Refer to output buffering functions for
details.
Regards,
--
Yasuo Ohgaki
<[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hell
Hi,
I want to know how to execute a php scripts which update a MySQL
database.
I am working on Win 98 and MySQL is install on Linux on another
computer.
Thank You in Advance.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On Fri, Apr 27, 2001 at 08:49:46AM +0200, Jimmy Lantz wrote:
> Hi, I have a problem,
> that when I get a parse error it always says that it's on line 1 in
> this or that file.
> Where is the configuration option to set this right?
When I had this problem it turned out that the files in question
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
- Original Message -
From: Jacky
To: [EMAIL PROTECTED]
Sent: Friday, April 27, 2001 2:59 PM
Subject: how do I calculate this?
Hi all
I have a variable that store number of days, I wan
ok, I'll try with socket.
Thanks
> no, sockets are not a bad solution at all. They are just as fast.
>
> And plus fsockopen has more functionality such as timing out, result
> messages, mess_num etc... what fopen doesn't have.
>
> I think fsockopen is better for this job.
>
>
> Sincerely,
>
> M
101 - 159 of 159 matches
Mail list logo