Hello all,
this seems like an easy question, but I could sure as hell couldn't find any
responces to it through initial searched. I am running php on an XP system
and I need to open a file contained with a set of directories which may or
may not have a space character; so for example:
fopen
Hi,
Does anyone have stats in terms of migration from 4 to 5, specifically I'd
like to know if the bulk of PHP developers have begun to change-over. I am
(was) a Java developer, but have been doing freelance/consultant work in PHP
for two years and am still developing on PHP4 platform. I
Heya guys,
I've ran into a problem that I just can't seem to get around. Basically I am
storing file contents in a compressed format (gzcompress -at 9) in my
database -- why -- basically to affect a search of said content using
keywords retrieved via an input source (it could be any, doesn't
($record[compress_content]); // this
statement causes problems when compress content 64kb
$fileContent = $record[compress_content]; // this statement works just
dandy
}
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Heya guys,
I've ran into a problem that I
Ahh I think I got it.. max field size reached
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Heya guys,
I've ran into a problem that I just can't seem to get around. Basically I
am storing file contents in a compressed format (gzcompress -at 9) in my
database
Hi Everyone,
I am looking for a PHP based packaged (though it doesn't necesarily have to
be) that will convert HTML files to their PDF representations; on the fly of
course. Anyone know or have any experience w/this? Thanks in advance,
Christian
--
PHP General Mailing List
I am converting simple html files.. reports that were created in Doc and
then converted to html. I am assuming you are executing this tool from PHP
and sending back the results once complete? How has it worked for you.
Christian
Chris Boget [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hey all,
trying to dynamically size cell widths; what I need is a formula to measure
pixels per character for an arbitrary font (in this case 10pt verdana). A
simple function f(x) = strlen(x) * SOMECONSTANT just doesn't seem to cut it,
as returned widths are to small are long. Any ideas?
Hiya guys,
I need some type of extremely simple (yet intuitive) CVS solution, preferbly
written in PHP. Namely I want to allow fairly unsavvy computer users (lets
say my mom for example) to checkout files of interest, located on some
server, via a web-interface and PHP\MySQL backbone. I really
I have ran into a rather interesting problem while zlib or gzip compression
is enabled on my site. I have an external javascript-php file (a javascript
file that is dynamically generated as in filename.js.php) which is included
in the main template using the script element (for example script
.
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have ran into a rather interesting problem while zlib or gzip
compression
is enabled on my site. I have an external javascript-php file (a
javascript
file that is dynamically generated as in filename.js.php) which
Hey everybody,
I am looking for some type of user tracking/stat collecting package. I am
sure there's a million; any recommendations? We have some specific needs as
well, so mostly likely I will be have to make some code changes. So the
simpler package the better.
Christian
--
PHP General
Christian Calloway [EMAIL PROTECTED] wrote:
Hey everybody,
I am looking for some type of user tracking/stat collecting package. I
am
sure there's a million; any recommendations? We have some specific needs
as
well, so mostly likely I will be have to make some code changes. So
Hi,
maby I am missing something, but I am trying to find a way to find the N
position/character in a String of a regular expression match. For example,
if I look for the pattern abba in 200 character length string, I would
like to know where, at what position that match was made. Any ideas?
Hey,
Not looking to reinvent the wheel.. I am looking for an inventory management
software package (written in PHP of course) that would be suitable for a
small business. So in otherwords, nothing with any bells or whistles, just
something that is easily modified/extensible. Any suggestions,
Hey all,
I had a small question concerning how MySQL stores text and longtext fields.
Long story short, I have to store a large amount of textual data, and was
wondering if I should compress said data and then store it in the db, or
does MySQL already concern itself with compression (which would
Given a set of session id's, is it possible to query whether a given session
exists. I am not talking about the current user session, instead I am
referring to any and all possible user sessions currently in play. For
example:
if (session_exists($sessionId)) doSomething();
I've been looking very
from your list and go from
there. There is no way of knowing if the person is still actively using
the
SID this way though.
Larry.
-Original Message-
From: Christian Calloway [mailto:[EMAIL PROTECTED]
Sent: Monday, February 09, 2004 9:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP
]
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Yeah thats pretty much what I have concluded. I was absolutely sure
there
would be a way to check if a session was still active, but I guess not
:-(.
Thanks though
It depends on your definition of 'active.' If you
Damn stateless nature of HTTP, hey everyone, can someone point me or give me
an idea on how I would automatically log out (destroy user sessions and make
note of it in the database) on some type of schedule. I have designed a
security system that depends upon people logging out to determine the
a
page, then poll to find users for whom now() - last_access_time
TIMEOUT.
- Lucas
On Thu, 5 Feb 2004, Christian Calloway wrote:
Damn stateless nature of HTTP, hey everyone, can someone point me or
give me
an idea on how I would automatically log out (destroy user sessions and
make
awesome, thanks for the quick replies guys
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Damn stateless nature of HTTP, hey everyone, can someone point me or give
me
an idea on how I would automatically log out (destroy user sessions and
make
note
I am sorry to post another mysql question, but this one is design related. I
need to create a relationship between two different tables in two different
databases. I feel like I am commiting a sin doing so, but it makes sence at
the application level, and to redesign everything would be
:35 PM 1/15/2004 +, Christian Calloway wrote:
Hey,
Sorry to post a mysql question here, but I wanted an answer from a PHP
perspective. I am currently working on a database (for work) which
contains
40 tables, and will continue to expand. The reason for expansion of
tables
is to obscure
PM 1/16/2004 +, Christian Calloway wrote:
Well let me try and describe a simplified version of what I am doing. I
work
for a group of analysts, and they analyse technical products. Each
products
has about 300+ fields associated with it, and each product is vastly
different from the other
Hey,
Sorry to post a mysql question here, but I wanted an answer from a PHP
perspective. I am currently working on a database (for work) which contains
40 tables, and will continue to expand. The reason for expansion of tables
is to obscure to get into, but the relationships all do make sence. I
Hey,
I am setting up Apache 1.3.27 on a linux box (I really dont know much about
linux) and I am having small problem. When a specify a subdirectory off of
my document root, I must include a / forward slash in order for the index
page to load, otherwise I get the The page cannot be displayed
Hey everyone,
I am writing an application to keep track of employee vacation leave. I have
two timestamp(14) database fields, lets call them start and end, signifying
when start and end of a vacation leave, respectively. What I am trying to do
is get the number of hours between start and end, for
Hey I wanted to see if anyone was getting the same problem. Using preg_match
in the following pattern:
/tr bgcolor=#FF(.|\n)+?\/tr/
PHP seems to be crashing. I get a Page cannot be displayed message from
the browser. I've come across this before, and I just upgraded to 4.3.3, and
no
] wrote in message
news:[EMAIL PROTECTED]
Christian Calloway wrote:
Hey I wanted to see if anyone was getting the same problem. Using
preg_match
in the following pattern:
/tr bgcolor=#FF(.|\n)+?\/tr/
You need to escape the double quotes in your string at the very least.
--
---John
$fileBuffer = fread ($resource, filesize ($FILE));
// match all table rows
$reg = %tr(.|\n)*?(.|\n)+?/tr%;
$matches = array();
// output number of matches
echo preg_match_all($reg, $fileBuffer, $matches);
?
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Christian
Errors are not being logged on my XP Pro box (error logging is on)
Curt Zirzow [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Christian Calloway ([EMAIL PROTECTED]):
Hey I wanted to see if anyone was getting the same problem. Using
preg_match
in the following pattern
Fixed the problem using s pattern modifier: '/regexp/s', without it, it
still hangs using '(.|\n)' in the pattern.
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Errors are not being logged on my XP Pro box (error logging is on)
Curt Zirzow [EMAIL PROTECTED] wrote
Hmm.. who knows, Ive wasted to much time on this silly problem. I appreciate
your help Curt, thanks.
Christian Calloway [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Fixed the problem using s pattern modifier: '/regexp/s', without it, it
still hangs using '(.|\n)' in the pattern
Ok, here's the deal. I like to use $_GET and $_POST variables without values
to notify my scripts that some action must be taken. For example, given the
following URL:
http://blahdomain/blah.php?productid=1edit
or given the following form element:
input type=hidden name=edit
My blah.php script
Christian Calloway ([EMAIL PROTECTED]):
Ok, here's the deal. I like to use $_GET and $_POST variables without
values
to notify my scripts that some action must be taken. For example, given
the
following URL:
http://blahdomain/blah.php?productid=1edit
or given the following form element
PROTECTED] wrote in message
news:[EMAIL PROTECTED]
* Thus wrote Christian Calloway ([EMAIL PROTECTED]):
Hey Everyone,
I am running Apache 2.047 with PHP (as module) 4.3.2. I ran into
something
interesting and I wanted to know if it was a bug, or actually supposed
to be
that way. Given
Yeah I figured as much. That sucks that they would both reference the same
location in memory even with globals on. Thanks alot for your help, ill
figure out a hack around the hack.
Christian Calloway
Kirk Johnson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Under 4.3.2
Hey Everyone,
I am running Apache 2.047 with PHP (as module) 4.3.2. I ran into something
interesting and I wanted to know if it was a bug, or actually supposed to be
that way. Given the following lines of code:
?php
session_start();
// lets say this equals bar and it was set on a previous page
Hey everyone,
I find myself building alot of admin control areas, or in otherwords, a
group of forms that lets an end user control data and appearances of his/her
site. What I am looking for is a package of classes/functions that will help
me automate and modularize this process a little more. I
Ok, well I have a form that uploads images, but of course the problem is, is
that IE caches the uploaded images. The only way to clear the cache is to
refresh, but that isn't a very user friendly approach. I've tried the
following header tags:
Header(Pragma: no-cache);
Header(Expires: Mon, 26 Jul
Hi,
well Im out of a job so I am sitting around learning XML. It seems like a
great tool, but I am trying to figure out why I would actually use it? All
it does is seperate content and data, albeit on the client, but that is what
I have been doing with Smarty and MySQL for awhile now. Why would I
Hey everyone,
Im looking for some type of ecatalog/inventory software written PHP thats
fairly good and that I can extend. Any suggestions? Or should I just I write
my own from the ground up. The site I am working on sells fairly specialized
and unique items, antiques and etc. Thanks
--
PHP
Can anyone suggest a strategy for importing data from MySQL to Access (it
sucks I know, but I have to do it for my work). I was thinking of using a
text-delimited file as an intermediate, but I am not quite sure on the
logistics.
--
PHP General Mailing List (http://www.php.net/)
To
I dont have access to the php.ini file, is there anyway to access the
include_path setting programatically from php? Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry this may be a little offtopic, but I am currently moving a site I was
developing from coldfusion+MSAccess to PHP+MySQL. I remembered reading
somewhere that there is a utility that will convert/transfer (data and
structure) a MSAcess database to Mysql, and vice versa. Anyone know? Thanks
hey ppl,
I need to create some fairly complex graphs dynamically, and I need to be
able to specify line, bar, or pie charts. Are there any PHP packages that
someone could point me to that would fill my needs. Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi,
Are there any PHP coded timesheet type web application? And if so, what
would we be suggested. Thanks,
Christian
--
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
Hi everyone,
I'm having troubles getting Apache to recognize .php files, and thus parse
them. I followed the instructions included with the PHP4.1.0 distribution,
and have PHP loaded as an Apache module, checking my services confirms this
as its description reads Apache/1.3.22 (Win32) PHP/4.1.0.
Hey everyone,
In coldfusion, if you have a file named Application.cfm in the same dir as
the script that is currently executing, then the coldfusion server will
automatically include that file in beginning of every script in that
directory. Is there any way, by manipulating the php config
I want to be able to override a function/method in a parent class, but then
call that function/method from within the overriden function in the child
class. The Zend documentation states you can do this:
In PHP 4.0 you can call member functions of other classes from within
member functions or
I want to be able to override a function/method in a parent class, but then
call that function/method from within the overriden function in the child
class. The Zend documentation states you can do this:
In PHP 4.0 you can call member functions of other classes from within
member functions or
Hi everyone,
I just downloaded phptriad, which installs apache/php/mysql/perl on a win
system. Im not sure on the language, but I want to be able to define virtual
directories. Currently everything under /apache/htdocs/ is accessible from
the browser, ie test.php located at
I've had the same problem with Netscape, where it would crash/choke on any
platform. I never figured it out, but it has something to do with Netscape
choking on your HTML, it has nothing to do with CSS or Javascript or PHP for
that matter. I'm not an IE fan, but lets face it, Netscape sucks.
Hi everyone,
I released a new version of PHPDoc, 2.3.5, and is a major update over
previous releases. PHPDoc can now parse multiple class definitions in a
single file. For anyone that doesnt know, PHPDoc is documenting tool, that
converts PHP code to Java syntax, and then hands that result
Great program man!
Carlos
"Christian Calloway" [EMAIL PROTECTED] wrote in message news:...
Hey everyone,
I just released phpdoc v2.0, which is a program used to document PHP
class
definitions.
This version is a complete rewrite of v1.0, and takes a different approach
t
Sorry, I got this from a user. Didnt mean to send to newsgroup
Great program man!
Carlos
"Christian Calloway" [EMAIL PROTECTED] wrote in message news:...
Hey everyone,
I just released phpdoc v2.0, which is a program used to document PHP
class
definitions.
Th
Hey everyone,
I just released phpdoc v2.0, which is a program used to document PHP class
definitions.
This version is a complete rewrite of v1.0, and takes a different approach
to creating
documentation.
Where most other applications try to imitate Javadoc as much as possible,
this application
58 matches
Mail list logo