ECTED]> wrote:
turns out it's a known bug, fixed in CVS already... haven't tried the
PHP 5.1 beta release yet.
http://bugs.php.net/bug.php?id=32970
On Aug 17, 2005, at 10:19 AM, Catalin Trifu wrote:
Hi,
Indeed a fclose($fp) is needed (wrote it as an example :)).
1MB is mo
an fclose($fp) after the file has been downloaded.
So is this a bug in PHP 5 or are they just purposely limiting the
abilities of the "readfile" command?
Jordan
On Aug 17, 2005, at 3:36 AM, Catalin Trifu wrote:
Hi,
I've had a similar problem. The download al
Hi,
I've had a similar problem. The download always stopped at exactly
2.000.000 bytes.
You have to work around that with:
$fp = fopen($file, 'r');
if($fp) {
while(!feof($fp)) {
echo fread($fp, 1024768);//see the huge buffer to read into
}
Hi,
Why are you displeased with apache ? After all, the 60% share market
of apache must mean something :)
Catalin
Fredrik Tolf wrote:
> Hi!
>
> I've begun to be more and more displeased with Apache lately, so I've
> been thinking of writing my own HTTP server instead. I still want P
hi,
Usually the .do files are servlets and the .do stuff you enter is rewritten
by the server internally to point to the actual servlet.
With a http request you will get whatever the servlet is spitting out the
wire.
Catalin
Jon wrote:
> is there some way to get a .do file from a
I have multiple installations of Oracle 10g -> two on linux and one on
win32.
Apache is on linux and php is compiled with oci8 and without oracle. I connect
with php
to all oracle servers without problems; one of them is on the same machine as
the server.
Catalin
Chuck Carson wrote:
>
I am using php 5.0.4 with oracle 10g and i had no problems so far.
Catalin
Chuck Carson wrote:
> I'm having problems getting php 5.0.4 working with Oracle 10.1.0.3 and
> just wanted to check and make sure 10g was supported before wasting
> any more cycles on it.
>
> Thx,
> CC
--
PHP G
I think you are looking for Hi,
>
> I have php 5.0.4 running fine on Fedora Core 2 under Apache 2.0.49. To
> all intents and purposes, PHP works fine. The only problem I have is
> with Plesk, which uses the presence of the sapi_apache2 module to turn
> PHP on or off for the various site
Hi,
It seems to me you are going the wrong way with "embedded" PHP;
try separating logic from view, tons of mvc frameworks out there and
templating engines.
Try firefox with web developer extension -> Validate Local HTML.
Catalin
Rick Emery wrote:
> And now for something completel
id take the time to see what others have
to say but the decision was mine to make. I may as well have been wrong
in making that decision but for now I am quite happy with it and I don't
consider switching to PEAR as a better alternative.
Catalin
P.S.
Please forgive me if my opinion offended
although
tests are not always very concludent since they depend on many factors.
Catalin
Joe Muddah wrote:
> Thanks a bunch. I have alot of work now ahead of me to decide which
> framework to use. Any opinions on which one is the best?
>
> On 6/24/05, Catalin Trifu <
The use of mmcache (try eaccelerator btw!) is not visible
without some stress on the server. Try building a rahter complex PHP
script, which does some crazy iterations but without DB connections
and such things which are not related to PHPs abilities and
use ab (apache benchmark tool) to issue
Hi,
You can take a look at phrame.sf.net, phpmvc.net, horder.org, binarycloud.com
adodb.sf.net (for fast db abstraction layer).
Read around and one of those will surely satisfy your needs.
Catalin
Joe Muddah wrote:
> I am trying to design a website archeticture. Does anyone have a
Check the manual for sort www.php.net/sort -> SORT_LOCALE_STRING
You would have to pay attention to the current locale ->
www.php.net/setlocale
before the actual sort.
hope this solves it,
Catalin
Mathieu Dumoulin wrote:
> I've got a little problem with the ksort and sort functions. W
Hi,
the USER_TABLES view shows all tables in oracle. Take a look at adodb.sf.net
for a very nice php library for database access. It takes much of the porting
burden off your shoulders and is pretty fast.
Catalin
Shane Presley wrote:
> Hello,
>
> I've recompiled PHP to use Oracle,
and include the object into session.
>
> it's the only way with php
>
> regards
>
> david
>
>
> Le Wed, 22 Jun 2005 14:43:51 +0200, Catalin Trifu
> <[EMAIL PROTECTED]> a écrit:
>
>> Hi,
>>
>> Basically you can take your mi
Hi,
Basically you can take your mind off object persistance in PHP
unless you code a C extension yourself which would do such a thing.
Besides code accelerators and caching techniques there isn't much
to play with; at least none that I know of.
Catalin
Evert | Rooftop wrote:
> H
Hi,
One thing i see is the use of num_rows on mysqli_result class,
but num_rows is member or mysqli class and not mysqli_result.
Perhaps this call to num_rows corrupts the rest.
Other than that everything seems fine.
Perhaps you should consider linux :), much better choice
Could you make a var_export($result); before calling free() ?
Normally the extension should work fine with MySQL 4.1.12.
Does the phpinfo() say against which MySQL version it was compiled.
I use mysqli on linux and have no problems with it.
php5.1.0b1, apache 2.0.54, mysql 4.1.1
One other mysql optimization is to increase the thread_pool.
This way mysql spends less time creating threads; which on linux without NPTL
is not exactly a cheap operation.
Catalin
Dan Rossi wrote:
>
> On 21/06/2005, at 7:47 PM, Catalin Trifu wrote:
>
>>
>>
Dan Rossi wrote:
>
> On 21/06/2005, at 6:06 PM, Catalin Trifu wrote:
>
>> Hi,
>>
>> This is a database issue and has to do with the following mysql
>> variables:
>>
>> interactive_timeout
>> wait_timeout
>>
>>
Can you describe your environment:
PHP version, Apache version, MySQL version, linux or win32.
Did you run phpinfo() and see the loaded extensions ?
Catalin
[EMAIL PROTECTED] wrote:
>> Is PHP compiled with mysqli support: http://ro.php.net/mysqli
>>Read the docs about what this ex
Hi,
This is a database issue and has to do with the following mysql variables:
interactive_timeout
wait_timeout
By default these variables are set to 28800 and they represent the time for
which
the server waits on "persistent" connection.
If you have a busy site that
Hi,
Is PHP compiled with mysqli support: http://ro.php.net/mysqli
Read the docs about what this extension requires.
Catalin
[EMAIL PROTECTED] wrote:
>
> Hey guys,
>
> I'm doing a tutorial from a book (PHP and MySQL Web Development) and I'm
> having a problem... when I use
talin
Richard Lynch wrote:
>
> I just noticed the eaccelerator bit in this thread.
>
> Just disabling eaccelerator isn't the same as not compiling it in in the
> first place...
>
> Try that before reporting a bug to http://bugs.php.net
>
> On Thu, June 9,
tates readfile should be the way to spit a file out
the wire.
btw:
$fp = fopen('somefile');
fpassthru($fp);
is also stopping at 2.000.000 bytes, which definetely drives me
to think there is a bug somewhere.
Catalin
Richard Lynch wrote:
> On Thu, June 9, 2005 4:12 pm,
omething like
> that, but taking into account that your method is stretching the
> resources, fopen/fread may be a better solution.
>
> I'd be curious to see the benchmarked differences - but couldn't be
> bothered at this minute doing the benchmarking atm.
>
> On 6/10
across that problem, but try this
>
> function output_file($filename){
> $fp = fopen($filename, "r");
> while(!feof($fp)){
> echo fread($fp, 1024000);
> }
> }
>
> On 6/9/05, Catalin Trifu <[EMAIL PROTECTED]> wrote:
>
>>Hi,
>>
>&
Hi,
I installed php5 using the configue below. I tried with apache2 as well and
same things.
'./configure' '--prefix=/usr/local/php5'
'--with-apxs=/usr/local/apache/bin/apxs' '--disable-cgi'
'--with-config-file-path=/etc/php5' '--with-dom' '--with-gd' '--enable-sockets'
'--enable-exif'
'--w
Hi,
Thanks for the answer; the amount of memory configured is 64MB.
readfile does no buffering and such things; it simply spits the file
on the wire.
Other suggestions ?
C.
rush wrote:
> "Catalin Trifu" <[EMAIL PROTECTED]> wrote in message
>
Hi,
What aout __construct() ->thi shoul do the trick (read the manual)
Catalin
Stéphane Bruno wrote:
> Hello,
>
> I designed a "player" class with the following properties and
> constructor:
>
> class player {
> private $properties = array('firstname' => NULL, 'lastname' => NULL)
I also use eaccelrator; However, even if I disable it completely, it
still stops at 2.000.000 bytes.
Catalin
Catalin Trifu wrote:
> Hi,
>
>I installed php5 using the configue below. I tried with apache2 as well
> and same things.
>
> './configur
Hi,
I installed php5 using the configue below. I tried with apache2 as well and
same things.
'./configure' '--prefix=/usr/local/php5'
'--with-apxs=/usr/local/apache/bin/apxs' '--disable-cgi'
'--with-config-file-path=/etc/php5' '--with-dom' '--with-gd' '--enable-sockets'
'--enable-ex
Hi,
Has anyone knowledge about a kannel (www.kannel.org) php library to deal
with sms and binary content messages such as wap push and nokia smart messages ?
Catalin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
If you are into C programming try kannel (www.kannel.org); they fully
implement
SMPP protocol into their gateway, so you could take a look at their code.
Catalin
Kyriacos Sakkas wrote:
> Hi all,
> Just wondering if anybody has had experience using SMPP with php. I
> have u
Hi,
Is the php5 session serializer php_binary faster than the php one ?
Or it's purpose is just to obscure the saved datas ?
thanks,
catalin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Check out this http://phpsec.org/
Cheers,
Catalin
Hi,
I'm new to PHP and I'd appreciate your advice a lot.
I'm trying to use dynamic PHP links instead of plain HTML and I'm gonna use
something like
this:
File "index.php":
story
about
But a guy told me it is not preferable to use t
Php Mysql wrote:
mail function in php requires to use 'sendmail'. But I have only
'qmail' on the box. How I can send email in PHP?
Thanks
Hi,
After u installed qmail, there is a qmail compatible sendmail
created for you in /var/lib/qmail/bin (i think that's where it should be).
As qmail
Hi,
$str = "DATA=abc&DATA=123&DATA=xxx"
I believe you should encode the string with http://www.php.net/rawurlencode
but make sure u don't encode the & and = signs.
$len = strlen($str);
$p = "POST /httpsmspp/servlet/sms HTTP/1.0\r\n";
$p.= "Host: 123.31.228.206\r\n";
$p.= "Content-
Hi,
I had really bad headaches with gettext some time ago
and since then I decided to no longer use it. It's unreliable on
heavy loads (mixed english + translated texts), moving the scritps to
another machine means more headache, it relies on system calls which
are not "isolated", whic
http://ro.php.net/manual/en/zend.php
This might be a good start.
Cheers,
Catalin
"Benjamin Bostow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I have heard of php modules and to the sound of it it allows me to create
>php functions that I don't have to have include files to ha
Hi,
I 2 use winxp pro at home, actually linux + windowoze and i have
encountered the same problem with mysql extension.
Some extensions, such as iconv, openssl depend on external libraries.
btw! it's not a good idea to mess with windows\system32 folder. If you
want
you can ad
on __set ($prop, $val)
>{
> $this->elem[$prop] = $val;
>}
> }
>
> $o = new OO();
> echo isset($o->a) ? "yes\n" : "no\n"; # Must return false and return false
> effectively, cool
> $o->a = 'foo';
> echo isset($o->a
Hi,
Is this really a bug. I think not.
There is no variable $o->a or $a->b in the class OO
there is only the variable $elem and $a and $b is a member
of that array
So ...
The fact that PHP5 provides __set and __get magic
functions does not mean that the actual variables exi
Hi,
Has anyone worked with Simplewire SMS SDK ?
If yes, is it possible to send WAP push messages with it and
if yes how.
If anyone has any info about some PHP + WAP push combination
i would be very grateful.
Thank you,
Catalin
P.S.
I've googled for it
--
PHP General Ma
Hi,
Check http://php.weblogs.com/adodb
Catalin
P.S.
Welcome to PHP :)
"Alistair Hayward" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I am an ASP user, now learning PHP.
>
> When adding a record in ASP, I do this:
>
> Recordset.AddNew
> Field1 = whatev
Hi,
I think this question is better suited to the devel list.
Catalin
"Tumurbaatar S." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If I understand right, PHP5 has an exception
> handling mechanism but it is only for "manual" using, i.e.
> a programmer can use try/ca
Hi,
I had same problem myself once.
Try adding the apache user to sudoers in /etc/sudoers if not
already there
Cheers,
Catalin
"Brian L. Ollom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v
Hi,
You could ftp to the other server, or even http.
>From php you can open a connection to the other's ftp
ot http services and transfer the file from one server to the
other like this
Regards,
C.
"Mike Koponick" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello eve
04-02-24 alle 15:16, Jakes ha scritto:
> > What do you need this for.? You session is only suppose to last for one
> > browser session
> >
> > "Catalin Trifu" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Hi,
> >
Thanks for the response.
Indeed it seems this is the only way to achieve what I want.
It would be nice if the PHP guys would implement such functionality.
Catalin
"Stuart" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Catalin Trifu wrote
send the
session id he got before sleeping.
Catalin,
"Jakes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> What do you need this for.? You session is only suppose to last for one
> browser session
>
> "Catalin Trifu" <[EMAIL PROTECTED]&
Hi,
Here is the problem:
The session gc runs and deletes the session data. This is good,
but calling session_start in PHP obviously creates a new session.
How can I know if the session was created after an old one was
deleted because gc has invalidated it or it is a compl
Hi,
You have to make the code yourself,
After session_start you should check the session for some
variable you use to check if the user is logged in
eg:
C.
"Jake McHenry" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
How can I make my site auto log out a use
Hi,
I have downloaded and installed ImageMagick (5.5.7 Q8) in c:\imagemagick
added it to %PATH%
I have downloaded the latest php_imagick.dll extension from kromann.info
and installed it.
PHP says imagick is installed properly.
However, when i am trying to run any of the exa
Hi,
> Whats the advantage of the above and whats the idea?
> isnt it much easier (and logical) to keep track of pages if you give them
a
> logical name?
The idea behind this approach is using MVC (MVC2) architecture which
gives much more
flexibility to the programmer.
Usually index.ph
Hi,
When using .htaccess files the request does not reach
your scripts untill Apache has done his authentication.
So, I suggest you take out the .htaccess part for authentication
and deal with it only from PHP; for instance with sessions:
1. Ask for user/pass on first page and
Fonts,
I am trying to use imageloadfont($PATH_TO_FONT . '/arial.ttf'); on a
windowze
machine. It fails without any error message.
Now, the font I use is the one from the windows Fonts/ dir.
I have also installed the freetype extension.
Can anyone tell me how they do it with
Luke Van Blerk wrote:
Hi everyone
I'd like to set up PHP5 to parse php files with a .php5 extension on Apache
1.3.28. Anybody know how to do this?
Regards
Luke
Hi,
You can set up virtual hosts on the apache server
and load the php module on a per virual host base
Cheers,
Catalin
--
PHP General
Hi,
This should go to the php.devel list
Cheers,
Catalin
"Ashish Borkar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi ,
> I am writing a php extension module on AIX 4.3.3 RS6000 machine.I
> have compiled php as CGI.When I test my php extension module function
Hi,
It does support any HTTP information, and since
HTTP_REFERER is part of the HTTP spec. it is supported.
You can find it in the $_SERVER variable.
FYI: The referer is not a reliable information.
Cheers,
Catalin
"Louie Miranda" <[EMAIL PROTECTED]> wrote in message
news:[EM
http://de.php.net/mysqli
Cheers,
Catalin
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am using PHP 5 on Windows. I have downloaded the lastest from snaps.
When I
> try to use the mysqli functions, I get the error message:
>
> undefined function mysqli_connect()
>
> I assume
isn't very
> clear.
> I think it says that the format is equal to sprintf. And sprintf has %010d
> in format that says that a var is a number with at least 10 digits, filled
> with 0's. So I think that sscanf should do the job!
>
>
> Nuno Lopes
>
>
>
> - O
Hi,
sscanf does what it says, that is
it reads parameters, which means it expects to find
a string like this "33996344" and converts it
into an integer; that's why you get the result you get.
This code does the job, but it's ugly: :).
";
print_r($lines);
foreach ($lines as $line
Hi,
> function highlight($src_terms, $src_terms_int, $result) {
> $i = 0;
>while ($i < $src_terms_int) {
>$result = preg_replace('/('.$src_terms[$i].')/si',
> ''.$src_terms[$i].'', $result);
Here the $result is changed to 'test' on the first search.
Obviously on the second rep
Hi,
Let's say you have PEAR installed in
/usr/local/php/lib/php
To use PEAR related classes, you should add
/usr/local/php/lib/php to your include_path; then restart the server ;)
or you can use ini_set() on top of your scripts.
Cheers,
Catalin
"Richard Baskett" <[EMAIL P
Hi,
RTFM: http://de.php.net/manual/en/ref.image.php
Cheers,
Catalin
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have been trying to write some image creation scripts, and although I
have
> a version of PHP that includes image support, I keep getting
Thank you!
> putenv("LANG=de_DE");
> putenv("LANGUAGE=de_DE"); // better to be paranoid, works for me ;-)
this one did the trick !
> putenv("LC_ALL=de_DE");
> setlocale(LC_ALL, "de_DE", "german");
>
> (see some user comments in php manual)
i already read the all before posting he
> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> Try:
>
> putenv("LANG=de_DE") . '';
> putenv("LC_ALL=de_DE") . '';
> setlocale(LC_ALL, "de_DE", "german") . '';
>
> Desi
>
>
&g
Hi,
I want to add i18n support for my web site, but
it doesn't seem to work.
PHP 4.3.3., Apache 1.3.28, Mandrake 9.0
Here comes the test code. As you can see I try all sorts of things.
';
echo putenv("LC_ALL=de") . '';
echo setlocale(LC_ALL, "de", "german") . '';
tes only that the data is passible for garbage,
collection (much like java) nothing more.
As for the cookie_lifetime, doesn't work either.
Cheers,
Catalin
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Let me corect you.
>
> Catalin Tr
Hi,
http://de.php.net/manual/en/language.references.php
Cheers,
Catalin
"Jswalter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> this difference bewteen A and B below?
>
> A)$a = &new className(true, 6);
>
> B)$a = new className(true, 6); /* missing & on the N
Hi,
JavaScript reload() function.
If you have wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I have 3 frames:
> Top, Menu (menu.php?menuid=x) and Content ( Content.php?[ table=y |
> article=z])
>
> Menu.php displays a menu, and the selected item=x
> Content.php displays eit
Hi,
If I'm not mistaking here, you can not find the parent(s)
of a class without an instance and it is quite logical.
Since PHP is not a compiled language, the parent
is available only at runtime.
Cheers,
Catalin
"Cristiano Duarte" <[EMAIL PROTECTED]> wrote in message
news:[EMA
Hi,
I have been using PHP for some time now and I, for one,
never had such problems. I'm pretty sure the problem is elsewhere.
For instance, when creating the HTML form, you have to make
sure everything is quoted perfectly:
And then in PHP, you have to quote
)
Cheers,
Catalin
FYI:
To find out the user used by apache you can look in httpd.conf and
look for the directive User
"Seth Willits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sunday, August 31, 2003, at 04:38 PM, Catalin Trifu wrote:
>
> >
Hi,
Does the user under wich the Apache server runs (implicitly PHP)
has write access to those directories ?
Cheers,
Catalin
"Seth Willits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Warning: imagejpeg(): Unable to open
> 'thumbnails/marching/years/2000/Miscellane
Hi,
Did you use a in HTML ?
Notice the POST method. You can also use $_REQUEST, which hold all
variable posted, either by POST or GET.
Cheers,
Catalin
"Ted Yu" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> I found that $_POST['name'] is empty inside my PHP
Hi,
offset = 1day + 1hour + 10 secs = 24 * 60 * 60 + 60 * 60 + 10 (seconds)
time() + offset = the time you need
or
$now = explode('.', date("d.m.Y.H.i.s", time());
$now is array ( 0 => the day, 1 => the month. aso)
add to the elements of the array the values you need
Hi,
You have to take into consideration the behaviour of the
datetime data type in MySQL. Look at the documentation
http://www.mysql.com/doc/en/DATETIME.html
I think the field type you need should be TIMESTAMP(14)
since you can use some MySQL functions to easily check for
expired d
August 31, 2003, at 09:38 AM, Catalin Trifu wrote:
>
> > Look at the php.ini file.
> > There you can define how and where to store the errors,
> > also the level of errors youn want to show
>
> This may come as a really big shock, but, I have no php.ini file. I
>
Hi,
Look at the php.ini file.
There you can define how and where to store the errors,
also the level of errors youn want to show
Cheers,
Catalin
"Seth Willits" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This may be obvious, but I even looked in a few books and
Hi,
Take a look here:
http://de2.php.net/manual/en/features.safe-mode.php#ini.open-basedir
Basically toy have opne_basedir in effect which means you can only
access
subdirs of the base dir, which in your case is, (I suppose)
/home/.paco/campuscb/campuscorkboard.com/
So take
Hi,
No, there is not! You have to manage yourself
the timeout, for instance through a timestamp,
which you verify on each request. PHP does not
destry sessions by itself. It's up to you to manage
the "life" of a session.
if($_SESSION['last_seen'] && ($_SESSION['last_seen'] < time(
Hi,
I printed the values out, and inserted it into a varibble to check if it
finds it. In this case it works! But it only wokes if I do it like this:
array('03042003');
This does not work:
array(03042003);
When you make array(03042003) what you get is an array like this
Array ( 0 => 3042003 )
Stevie D Peele wrote:
What do we call things like this -- $_POST['name'], $_SERVER['remote
add']
Are they superglobals and where can I find a list of these?
Thanks
The best thing to hit the internet in years - Juno SpeedBand!
Surf
Hi,
You don't have to convert to string; PHP does it
automatically.
Did you check for the $dates array, does it really contain
what you think it should.
So, try to make a print_r($dates) and see if you have what you expect.
FYI: array_search() returns the key of the last found element
Hello,
Does anyone know a method in which I can load a large flash movie in the background and only when it is done, play it. In the mean time, the user should be able to carry on surfing normally.
Any ideas?
Thank you,
- Sid
Hi,
Simply put you can not! if the user moves from one page to anot
Hi,
Don't know if this is the place to start this,
but I'd like to hear some pros and contras for
some frameworks out there (MVC mostly).
I mean, you have Placebo, Phrame, pehppy, aso.
I'm getting a little bit dizzy by how many there
are and I'd like to know your oppinions on them.
Catal
Hi,
>The message is :
>Warning: Unable to create
>'/home/sites/site82/web/images/photos_elt/ail.jpg': Permission denied in
>/home/sites/site82/web/gestion_site/bve_navigation.php on line 73
it's obvious the user under which the apache server runs does not have
write permissions on /home/sit
Hi,
You could use the wrote in message
news:[EMAIL PROTECTED]
> I've asked about this before but could not get a working solution.
>
> I have a database. Users put data in the DB :) I have a page with a list
> of accessible data "block". Each "block" has a button next to it.
>
> When
Hi,
Is this a virtual host ?
How did you define the AddType in httpd.conf ? as global
directive or for each vhost ?
Also check that u'r apache listens to 443. Does pure .html
page display ?
Cheers,
Catalin
"Jason Jacobs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTEC
if you are really not interested in the security,
then you can run the apache server as root; then you have
root privileges for your PHP scripts.
then you can use the system() function with no restrictions
Cheers,
Catalin
"Petre Agenbag" <[EMAIL PROTECTED]> wrote in message
news:[EMAI
Hi,
Insteand of using the same value for checked,
you should use different values for the checked
parameter like value="entryOneChecked" value="entryTwoChecked"
And it's a good idea to use quoting around variable names at least.
Cheers,
Catalin
"Aris Santillan" <[EMAIL PROTECTED
Hi,
Server side there si no way to get the parent's URL
you could however client side with JS
Cheers,
Catalin
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am providing content for an other site. My content is getting shown in
> side a fram
Hi,
Did you added the /usr/php/pear/share/pear in the php.ini
include_path option ?
Besides the mime is part of Mail_Mime extension and
SOAP needs some extensions too (don't remember exactly which)
so check if all requirements are met.
btw! what's the error message when it cras
Hi,
The prototype for mysql_connect is:
resource mysql_connect ( [string server [, string username [, string
password [, bool new_link [, int client_flags ] )
As you can see you get parse error because the fourth argument
should be boolean, not string.
Cheers,
Catalin
35: /
Hi,
> echo " = 'multipart/form-data'>\n";
I think that the methos should be POST not GET
Second, you may want to save the file first with,
move_uploaded_file (see
http://de.php.net/manual/en/function.move-uploaded-file.php),
then you will be able to see it.
Of course you will f
btw! if you use it inside a function, you need
to declare it as global!
Catalin
> Are you sure the data is posted from HTML
> through POST ? try adding the lines below:
>
> > $colors="";
> if(is_array($HTTP_POST_VARS) && !empty($HTTP_POST_VARS )) {
> > foreach($HTTP_POST_VARS as $
hi,
Are you sure the data is posted from HTML
through POST ? try adding the lines below:
> $colors="";
if(is_array($HTTP_POST_VARS) && !empty($HTTP_POST_VARS )) {
> foreach($HTTP_POST_VARS as $ThisVar=>$ThisVal){
> if(ereg("color-", $ThisVar) AND $ThisVal=="on" OR $Thi
1 - 100 of 122 matches
Mail list logo