Thanks to everyone for their help - especially Martin, that fixed my
problem and now all the records (both basic and extended) display properly.
I did have one last aesthetic question ... I have one field set as TEXT
which holds descriptions of the events. When the information was entered
int
Hello,
How do you read back the value of a serialize object that you put into a
session variable?
My exemple:
page1.php
---
session_start();
include( "myObject.php" );
$o = new myObject();
$o->load_variable( "100", www.domain.com);
$o = serialize( $o );
session_register( "o" );
H
For those running php 4 on raq 3, how did you compile freetype?
./configure
make
make install
or just 2 make's?
Just curious
"Miles Thompson" <[EMAIL PROTECTED]> wrote:
> You mentioned .pkg files, might Cobalt be using a Debian distribution? Log
> in and try executing dpkg or dselect -- it could be that Cobalt have the
> installation pointing only to their server. If so, go to the Debian web
> site and locate some addit
If "id" is unique, you can change the first sql from:
$result = mysql_query("SELECT *, DATE_FORMAT(EventStartDate, '%W %M %D %Y')
AS FormattedEventStartDate, DATE_FORMAT(EventEndDate, '%W %M %D %Y') AS
FormattedEventEndDate, TIME_FORMAT(EventStartTime, '%r') AS
FormattedEventStartTime, TIME_FO
Hi again,
Ok, I've heard some suggestions to my problem ... but I'm not entirely
certain how to incorporate them, perhaps taking a look at the code would be
helpful.
Again, the problem I'm having is as follows. I have a simple form in which
the user selects a month and year from two drop dow
Dear [EMAIL PROTECTED],
***
Would you like to send an Email Advertisement to
OVER 11 MILLION PEOPLE DAILY for FREE?
***
On Mon, 26 Nov 2001 13:17, Tim Thorburn wrote:
> Hi,
> I'm having some new troubles pulling information out of a MySQL
> database. The page I'm currently working on has a simple form, that
> asks the user to select a month and year from two dropdown menu's then
> forwards their choices on to a new
thats right just untar somewhere, when you do the make install it should
create the directory /usr/local/freetype2 for you, it is a bit of a strange
one they also made it to use jam which is another make file system, I don't
know whats wrong with the old ./configure, make, make install at least it
On Sun, 25 Nov 2001, Tim Thorburn wrote:
> the proper information? My immediate thought is a cookie, but I have no
> idea how to do this ... can anyone offer any other suggestions, or if a
> cookie is the way to go - can someone point me in the right direction?
Hidden form variable, assign the
Hi,
I'm having some new troubles pulling information out of a MySQL database.
The page I'm currently working on has a simple form, that asks the user to
select a month and year from two dropdown menu's then forwards their
choices on to a new page which displays community events for the chosen
Hi people,
I´m looking for alternatives in
using zip files. Our users should upload into our server zipped files and we
need to unzip this files and process it. I have read there is a library that
could be used like an extension, but I´ve tried to use it from NT and don´t
seems like t
Doing this is very simple, although a pain in the rear...
For those of you that have any confusion on this issue, pay very close
attention to this script. It effectivly demonstrates how to deal with a
form, and display intellegent errors WITHOUT any of that "...Please click
your browsers back
I'm trying to store some classes that I created in session variables. I
want to test for the object at the beginning of each page and if it does
not exist I want to create it.
I have the class definitions in a separate file that is included before
session_start()
But when I try to access the ob
Hi everyone,
I'm connecting to a SQL SVR 2000 database and get an error that I haven't
been able to resolve.
The following code generates an error Incorrect syntax near 'longer'; SQL
state 3700 in SQLExecDirect
I read some where that it might be due to a reserved word in column names,
but this
On Sunday 25 November 2001 04:08 pm, Ali Pakkan wrote:
> And consider they are real users, then how will i tell Apache server to
> run as the user owning the file?
Using the PHP module, you can't. Using PHP as a CGI, you can use something
like cgiwrap to execute under the user's account
> Is
I should explain a bit more in detail.. Actually, the users can have php
files. And these php files can access other users' stuff.
And consider they are real users, then how will i tell Apache server to
run as the user owning the file?
Is it impossible for a real solution?
On Sun, 25 Nov 20
On Sat, 24 Nov 2001 03:33, Yura wrote:
> Hi,
>
> Thank you all for help, I figured out that fsockopen() is the same as
> telnet so I found command for telnet and now successfully apply them
> through fputs() Now all I have to do is to come back to beginnings and
> figure out how to separate messag
> I want to keep their information on Mysql. That is,
> if possible I don't want to create real system accounts.
>
> The problem is... using PHP, they can open any file
> that is readable to nobody account (Apache user)..
> So it can read and even edit other users' files..
>
These two statemen
Thanks for all the help guys! I am sure i will solve this when i have a go
at it again :)
- Daniel
--
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 P
On Sunday 25 November 2001 03:30 pm, you wrote:
> The problem is... using PHP, they can open any file
> that is readable to nobody account (Apache user)..
> So it can read and even edit other users' files..
>
> Consquently, the users should be able to access only and only their home
> directories.
Hello,
I have a machine which is running Php4 on Apache 1.3
And I want to make a hosting site that the users
can register themselves online. They will have a home
directory and so they will be able to put their web files
(html, php, images etc.) under there.
I want to keep their information on
OK, probably the easiest thing to do would be to add some kind of state
functionality to the loop and use different logic/regex stuff based on
where in the process you are ... first test each line for '/^SHIP TO/',
'/^BILL TO/' or /^ORDER NO./ ... that could set your 'state' for the
script, then y
Sessions do automatically serialize and unserialize it's variables?
How is it done??... is it via session_register() that calls serialize() ??
and then session_start() unserializes it all?
/* I'm just guessing here */
can someone explain me how does this work?
_
. C
Hmm, don't know much about raq3 but if it has GNU Make (ver 3.78.1 or newer)
it should compile with any Unix C compiler.
make setup CFG="--prefix=/usr/local/freetype2"
make
make install
Hope this helps, from memory it is a little fiddly sometimes hard to get GD
to see the freetype2 libs/includes
On Mon, 26 Nov 2001, Martin Towell wrote:
> you said you tried a text field, have you tried a hidden field?
Alrighty then, my greenness shows. :)
The hidden field idea was perfect (never used one before).
Thank god I'm just playing around with my _own_ site. ;)
Thanks Martin!
Benny
~
you said you tried a text field, have you tried a hidden field?
does it HAVE to be in $HTTP_POST_VARS ?? can you append it to whatever link
you have using "?unique_id=$id" or something similar?
Martin T
-Original Message-
From: C. Bensend [mailto:[EMAIL PROTECTED]]
Sent: Monday, Novemb
I'm trying to build serializeAll() and unserializeAll() type functions...
but how can I tell from $HTTP_SESSION_VARS which of those vars are
serialized objects so I can unserialize them?
_
. Christian Dechery
. . Gaita-L Owner / Web Developer
. . http://www.webstyle.
Hey folks,
I am working on a database-driven site, and
have run into a problem. It's not a problem with any
existing code, more of a "how the heck do I do this"
sort of thing.
I have a table, that is generated from a database
query:
+---+---++--
Hank Marquardt wrote:
> Actually you're OK here (I think ...) if a few of them end up blank,
> that's OK, just ignore them, you'll know the ones you want based on the
> real email you receive ... as for the folks putting To: someone, From:
> someone ... I wrote the regex to accomodate that ... it
On Sun, 25 Nov 2001, Miles Thompson wrote:
> Not such a useless explanation at all, in fact a damned good one. Tight &
> concise, and you immediately related the functions to code examples, along
> with an easy-to-visualize object, the chair.
Sweet ... I'm glad you found it useful! TY
> 1. Why
> Actually, some of those will end up being "blank", for example the 'BILL TO:'
>line is always blank, I may not have all 3 lines of 'Address:' filled, etc., etc.
>And there may be more lines that might end up blank when someone places an order.
>And as you pointed out, some lines might h
Phil,
Can you telnet or SSH (using putty or Terr Term SSH) to the RAQ? If so, do
it by hand, and the best set of instructions is the "Soothingly Seamless
setup of Linux Apache MySQL and PHP." I'd give you the URL, but the
Internet is so slow here right now that I can't find anything, so search
Hank Marquardt wrote:
> if you do have extraneous ':'s
> elsewhere in the message then you'll need to be a little more picky with
> your regex stuff to only pick out what you want -- for example, your
> post has a couple of sentences that end with ':' before an example ...
> the script as written
You need to store your PDFs outside the web tree and then access and
distribute them through a script that does the user authentication ...
in pseudo-code that would look like this:
Check Authentication
If !Auth ... send to login
Check for proper file request (name/id/whatever)
If
If you have access to the Apache server why not set up auth-mysql as the
authentication method? It checks for authentication login/password pairs out
of MySQL.
mark C.
> -Original Message-
> From: Miles Thompson [mailto:[EMAIL PROTECTED]]
> Sebastian,
>
> I believe I have to do what you
1. Elegant, collector's 8" stainless steel knife. Never been used although I had it
for over ten (10) years. click:
http://cgi.ebay.com/aw-cgi/eBayISAPI.dll?ViewItem&item=1038281683
2. NEC MULTISYNC XV17+ SVGA 17" MONITOR. EXCELLENT (LIKE NEW). . click:
http://cgi.ebay.com/aw-cgi/eBayISAPI.
Sebastian,
I believe I have to do what you do, but from your cryptic msg I've not been
able to figure it out.
We have a subscription site, and if a subscriber wants a PDF, the link
which requests it checks for a session cookie. If it's not set the user is
directed to a logon script which chec
Well, you can certainly do this in a query ... if you have unitcost and
quantity in your table you could do this:
select unitcost, quantity, (unitcost*quantity) as totalsale from orders
Hank
On Sat, Nov 24, 2001 at 04:06:31PM -0700, Jared Howard wrote:
> I'm not really sure what I should be l
Daniel,
See below
Miles
At 06:24 PM 11/25/2001 +0100, Daniel Alsén wrote:
> > 2. User fills in a form, clicks "submit" which calls the same script,
> > passing itself the values. Depending on the value passed by the submit
> > button, the script processes the information (INSERT or UPDATE) and set
Check out
www.code-corner.com
=
Heidi Belal
www.code-corner.com
ICQ# 32127109
A bus stops at a bus station.
A train stops at a train station. On my desk
I have a work station...
__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hos
Hello Phil,
I've seen this come up a few times, search the archives for a bit:
http://marc.theaimsgroup.com/?l=php-general&s=raq
The following comes up and may be useful. Don't hesitate to reply back on
how helpful it is, perhaps eventually some raq instructions can make their
way into inst
I think I really don't understand what do you want... hehehe :)
which is fine!
but take that code I sent ya... now I'll explain the functions... then tell
me if I'm right:
function ShowHeader
{
?>
Something
An example being a thousand words ...
Enter name:
Enter email:
Now I haven't actually tested it I just typed it, but directionally it's
pretty similar to lot's of pages I've written if not a little simplistic
... it also assumes that register_globals is on and does no sanity
checking
Hmm...either i don´t really get what you mean, or you missed the problem.
This is the situation:
I have a form which results is to be inserted in a db. When the form is
submitted the page calls itself and does a db INSERT based on if a couple of
statements is true - otherwise it displays a prope
sorry if I'm not understanding correctly your problem... but it seems quite
simple to me...
I've created like 10.000 php forms that does that... I don't see a prob...
what do you want to do?
process a form:
if something's wrong, print error message and go back
if everything is fine go to anothe
> 2. User fills in a form, clicks "submit" which calls the same script,
> passing itself the values. Depending on the value passed by the submit
> button, the script processes the information (INSERT or UPDATE) and sets
> $done = 1 if successful.
>
> The second scenario is easier to handle.
> Call
Hi,
As I have only ever worked on a Windows platform, installing PHP & MySQL on
a RAQ3 is completely alien to me. I attempted to install the binaries by
following instructions I dug up somewhere, and it all went badly wrong :o(
I have since had the RAQ reset so I could start again. This time rou
An example for ya
#!/usr/local/bin/php -q
--- David Yee <[EMAIL PROTECTED]> wrote:
> Can I write a command line PHP script like the following:
>
> php -q test.php
>
> Output:
>
> ==
> 1)choice A
> 2)choice B
> 3)choice C
>
> Please enter an option: 1
> ==
>
php-general Digest 25 Nov 2001 15:56:18 - Issue 1015
Topics (messages 75632 through 75652):
Re: what the best version PHP + APACHE on Solaris8
75632 by: Justin England
Re: Can php do this?
75633 by: Michael Sims
75634 by: Michael A. Peters
75636 by: Casey Al
What scenario do you have?
1. User fills in a form somewhere & those values get transmitted to another
script which processes them
or
2. User fills in a form, clicks "submit" which calls the same script,
passing itself the values. Depending on the value passed by the submit
button, the script
At 09:22 AM 11/25/2001 -0400, Miles Thompson wrote:
>I've followed this with interest, but unless you specifically need some
>properties of PHP to do this, use an easier tool.
>
>Python has modules for both MySQL and PHP. They are easily invoked and
>don't involve calling Lynx & feeding it the s
OK, I took a stab at this using your post for input and it should be a
good enough starting point for you ... if you do have extraneous ':'s
elsewhere in the message then you'll need to be a little more picky with
your regex stuff to only pick out what you want -- for example, your
post has a coup
Hi,
is there a way to redirect after a script has run?
I have a form whos result is being put into a database. When, or if, the
operation is sucessful i set a variable $done to 1.
Now, i need a redirection from here (if $done is 1). But since i cant send
out headers that far down on the page -
I am trying to use php and gnupg on my virtual host to send user input to
myself in encryptd form. The problem I am having is that I have installed
gnupg in my user account and it is functional, but the keyring and keys that
I have generated are under my user name for the account. Php runs
Miles,
I have come from a QBASIC to VFP to VC++ to PHP (VFP and PHP are my primary
languages), so I'll try to clear it up a bit.
In VFP, there is no constructor. I believe that the equivalent is the
init() method. The init() method, or the constructor (in PHP, C++, etc)
are useful for doing
Miles,
I have come from a QBASIC to VFP to VC++ to PHP (VFP and PHP are my primary
languages), so I'll try to clear it up a bit.
In VFP, there is no constructor. I believe that the equivalent is the
init() method. The init() method, or the constructor (in PHP, C++, etc)
are useful for doing
Yeah, use a real client program like Terra Term.
-Jason Garber
At 05:07 PM 11/24/2001 +, cosmin laslau wrote:
>I've got a huge table that I'm trying to get information about. I use a
>MySQL database, and the windows telnet utility to access it. To see info
>about the table, the DESCRIBE c
I've followed this with interest, but unless you specifically need some
properties of PHP to do this, use an easier tool.
Python has modules for both MySQL and PHP. They are easily invoked and
don't involve calling Lynx & feeding it the script.
Here's some code, you might want to think about it
Chris,
Not such a useless explanation at all, in fact a damned good one. Tight &
concise, and you immediately related the functions to code examples, along
with an easy-to-visualize object, the chair.
But I have two questions:
1. Why is a constructor class needed? My OO background is Visual F
On Sun, 25 Nov 2001, Rudi Ahlers wrote:
> Can anyone explain classes to me please? On many sites have I seen classes,
There are people earning PHD's while explaining classes. I know your
question originates from using PHP, and this is a PHP general mailing list
... but your question is just a ta
>
>To test a new php installation I accessed a page called index.php that
>contains only
Perhaps you want to:
Not sure if anything else should produce errors..
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi
Can anyone explain classes to me please? On many sites have I seen classes,
I'm not sure how these work, or how to use them. I'm still learning about
php, and I get it going nicely. Is a class something like a variable (but as
a whole script) that I simply include into my other scripts?
Your h
Hi,
To test a new php installation I accessed a page called index.php that
contains only but that produces this error:
Warning: Failed opening '' for inclusion
(include_path='.:/usr/local/lib/php:/usr/local/include/php:/usr/local/bin/ph
p') in Unknown on line 0
This seems very odd given that:
64 matches
Mail list logo