Howdy.
I have a SuSE 7.0 Linux install with apache and mod_php4. I can
do .php files all day long, but I have a shopping cart thingie that is
written for php3, and none of the files will parse. I have tested my
machine with a phpinfo() php3 file, and no go on that either.
I figure that
I have redhat 7.1, apache 1.3.22, php 4.1.1
I have installed php and other apache modules as static.
I have installed all php modules static.
I also installed java module as static (--with-java=..)
But I cannot enable java in php.ini
Also, lib_phpjava.so library is not created. Only li
can I limit the information shown in phpinfo function?
the info it gives is a little risky for me
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
http://www.acilhost.com/en/index.php
Here you can find what you need.
They also offer custom solutions with the lowest prices in the
world...
On Fri, 08 Feb 2002 11:04:32 +, Neil Freeman wrote:
>I have a feeling that www.aletia.com use 4.1.1
>
>Edward Marczak wrote:
>
>>already takes advant
Hi,
I'm really new and getting lots of help but need some assistance.
I'm running a script which gets specific articles from a database if
they're entered in the URL after the ? . For instance if someone asks
for
www.foo.com/index.htm?a=1234
then the script would look for an database entry with
Reply-To: [EMAIL PROTECTED]
On Mon, 7 Mar 2005 22:23:19 -0500, Jackson Linux
<[EMAIL PROTECTED]> wrote:
Hi,
I'm really new and getting lots of help but need some assistance.
I'm running a script which gets specific articles from a database if
they're entered in the
Thanks, Kim! Still having difficulties though..
On 8 Mar 2005, at 03:29, Kim Madsen wrote:
From: Jackson Linux [mailto:[EMAIL PROTECTED]
Sent: 8. marts 2005 04:23
First of all, echo the output to see if You get, what Tou expect in a
debug situation:
if (!empty($where)) {
echo
On 8 Mar 2005, at 11:40, Richard Lynch wrote:
1. $content = substr($article['content'], 0 200); // get first
200
chars is choking, and I've looked in docs and can't understand why.
I get
Parse error: parse error, unexpected T_LNUMBER in
/usr/www/users/domain/dynamic/templates/substr.htm on
Sorry if this posts twice. Thanks everyone for the help.
The missing comma was the problem with the display; the missing
specification of the column at the start of the sql query was the
problem with getting the data from the column.
Again, thanks all who replied for the fast and excellent hel
Hi, all,
I have three tables; 'cv', the main table, 'jobcat', a definition table
and 'cvjobcats', an intersection table (for more detail see PS below).
I'd like to join this all together to be able to make a headline
consisting of the plain English description of the job category
followed by a
nks again,
Jack
On 9 Mar 2005, at 02:19, Rory McKinley wrote:
Jackson Linux wrote:
Hi, all,
I have three tables; 'cv', the main table, 'jobcat', a definition
table and 'cvjobcats', an intersection table (for more detail see PS
below).
I'd like to join this all
Hi, All,
A php variable question.
I've done this to take the requested category from the URL
(www.foo.com/file.htm?r=1)
and use it to build the page:
if (isset($_GET['r']) && !empty($_GET['r'])) {
$r = "'{$_GET['r']}'"; //Set the variable $r to mean the category number
$fields = '*';
} else {
$w
On 9 Mar 2005, at 11:15, Jason Barnett wrote:
Jackson Linux wrote:
...
asks for
cv.'1'.include.php ... And I need it to ask for cv.1.include.php
How can I make a variable to fetch the literal number from the field
cv.category?
Not 100% certain that it will work, but try casting the vari
I can point
to it
4. Fix it so that if someone asks for anything other than an existent
?r=x it kicks back a webpage which just shows links to existing pages.
Which brings me to the next question, which I'll post in a second!
Thanks again everyone!
--Jack
On 9 Mar 2005, at 11:43, Jochem
Hi,
This:
if (isset($_GET['r']) &&
!empty($_GET['r']) &&
($r = intval($_GET['r'])) ){
$r = "{$_GET['r']}"; //Set the variable $r to mean the category number
$fields = '*';
$sort = "ORDER BY cv.sort";
} else {
$where = '';
$fields =
'cv.cv_id,cv.category,dates,cv.job_title,cv.company,cv.
Okay, guys,
I hope I'm getting closer with your help here but I am still highly
confused (that's actually a general blanket statement these days).
I've taken your advice and made several changes,
On 9 Mar 2005, at 13:44, Jochem Maas wrote:
M. Sokolewicz wrote:
Jackson Linux wrot
On 10 Mar 2005, at 07:38, Jochem Maas wrote:
Jackson Linux wrote:
Okay, guys,
I hope I'm getting closer with your help here but I am still highly
confused (that's actually a general blanket statement these days).
I've taken your advice and made several changes,
On 9 Mar 2005, a
Hi, Jochem and everyone
This:
On 10 Mar 2005, at 15:23, Jochem Maas wrote:
if (!isset($_GET['r']) || empty($_GET['r']) || !($r =
intval($_GET['r'])))
{
// show a list of R's
include('showlist.inc.php');
}
else
{
// process an R
include('process.inc.php');
}
Solved my issue entirely, as did Jo
Hi, everyone, I apologise if this posts twice; I'm having issues with
my outgoing email server.
I'm making 'teasers' of the first, say 200 to 250 characters of some
articles. This works great:
$content = strip_tags($article['content']);
$striptease = substr($content, 0, 275);
but cuts o
Hi, everyone,
I'm 'teasers' of the first, say 200 to 250 characters of some articles.
This works great:
$content = strip_tags($article['content']);
$striptease = substr($content, 0, 275);
but cuts off words right in the midd ...
I'd like to find a way to take $content, look at the first 2
Hi, everyone,
Thanks for the great suggestions! I've looked at all and found that the
one here:
http://www.php.net/explode
that Jay recommended was the easiest for me to wrap my brain around. I
wll tinker with the other ones as well - it's all really interesting.
The function was:
function word
Hello all,
I am a newbie trying to build a set of links to content in a db. I am
connecting with the db and seeing the proper number of rows. if I echo
out the values of $id and $sidebar I see that they take on the id# and
text of the last entry in the database. I'm trying to make the script
ge
Sorry folks. I have been told by a more knowledgeable friend that the
problem was I forgot to ECHO out the join. It works now.
Thanks anyway!!
Jack
On 28 Mar 2005, at 15:57, Jackson Linux wrote:
Hello all,
I am a newbie trying to build a set of links to content in a db. I am
connecting with the
I'm so confused. I have an array :
$display[] = "
{$cv['dates']}
{$cv['job_title']}
{$cv['company']}
{$cv['job']}";
In SOME of the rows of this table, there is a field called sidebar. I'd
like to have this array include a reference to this field if it exis
As usual, Jochem, thanks for all those useful tips. They are much
appreciated.
Jack
On 29 Mar 2005, at 05:15, Jochem Maas wrote:
Jackson Linux wrote:
Hello all,
I am a newbie trying to build a set of links to content in a db. I am
connecting with the db and seeing the proper number of rows. if
Hi,
I've set the following:
$nscfg['url'] ='http://www.domain.com/';
$nscfg['secure_url'] ='https://domain.com/';
$nscfg['site root'] = '/Users/username/public_html/';
$nscfg['base'] = 'http://www.domain.com/';
// For use in the HTML documents
define ("URL", $nscfg['url']);
// where to find Article
Hi, ho,
I have a problem; something which works locally is complaining on the
BSD Unix server I use:
The Code: (somewhere else I define $image_dir)
$image = ($article['image']);
$size1 = getimagesize("$image_dir"."$image");
$width1 = $size1[0];
$height1 = $size1[1];
include_once(INCLUDES . 'im
My provider has provided me the solution: adding
php_flag allow_url_fopen on
to the .htaccess
Apologies to the list for wasting time and bandwidth.
Jack
On 31 Mar 2005, at 17:47, Jackson Linux wrote:
Hi, ho,
I have a problem; something which works locally is complaining on the
BSD Unix server I
Hi everybody!
I write some PHP scripts for a system's module that allows the user to upload a file
from his computer to the host. It works fine in a server with Linux Apache MySQL
PHP (LAMP) environment. I based on the examples of this page:
http://www.php.net/manual/en/features
code?
Thanks,
Whil
phpinfo() reports this configure script:
'./configure' '--build=i686-redhat-linux-gnu'
'--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu'
'--program-prefix=' '--prefix=/usr' '--exec-pre
comex wrote:
On 8/24/07, Linux NG/Lists <[EMAIL PROTECTED]> wrote:
b) Why does the error reporting NOT work as soon as I jam a $db new
mysql call into the code?
Because you disabled it with an '@'.
Well, I suppose I should say "Doh!" but even when I get rid
Well, I suppose I should say "Doh!" but even when I get rid of the
"@", I still get a blank page - no errors, and no database, either!
A followup - I'm taking this over to PHP-DB since it's now
database-centric, I think.
This still fails:
$db = new mysqli(
But this works
$conn
32 matches
Mail list logo