hi.
I want to transfer tables to another database.
how??
thanks.
--
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]
hi.
how do I can wrk with time:
11:56:23 - 10:00:45 =
thanks.
--
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]
On Thu, 23 Aug 2001 16:07, nafiseh saberi wrote:
hi.
I want to transfer tables to another database.
how??
thanks.
Without knowing what DB package you are using - use whatever tool you
have (in mysql it's mysqldump) to dump the data, then use ? to reload it
into the new database; assuming
What I need to do is to compare if one field matches a value from a huge
list of values.
Do I need to query like
SELECT * FROM table WHERE field LIKE '%value1%' || field LIKE '%value2%'
or can I do it something like this
SELECT * FROM table WHERE field LIKE ('%value1%' || '%value2%')?
Niklas
hi and thanks.
I work with postgres with php.
best regards.
love your enemies that cause to work harder.
I am from IRAN.
thanks again.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
hi.
how do I can wrk with time:
11:56:23 - 10:00:45 =
Don't ask this again.
Date: Mon, 20 Aug 2001 19:14:41 +1000 (EST)
From: speedboy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] time in php
hi.
how I compare two times with php?
12:23:50 - 13:12:00 = ???
Convert
convert both to a timestamp... check
http://www.php.net/manual/en/function.mktime.php for more info
--
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
hi.
I want to transfer tables to another database.
how??
Have you read the documentation on backing up and restoring
databases/tables in postgresql?
http://www.ca.postgresql.org/users-lounge/docs/7.1/admin/backup.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
thanks for
time and pg_dump.
nafiseh.
--
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]
On Thu, 23 Aug 2001 16:11, nafiseh saberi wrote:
hi.
how do I can wrk with time:
11:56:23 - 10:00:45 =
thanks.
Have a look at the date and time functions - convert the time to seconds
and do the calculation (mktime) then turn it back to whatever format you
like.
--
David Robley
Hello together,
I have been trying to benchmark the backend scripting for a flash online
game, for this purpose i wrote another PHP Script that uses fopen to
make exactly the same requests the flash movie would make with the same
timing, and writes a log of the game session into a database.
I
Who can crack the following nut for me..? Or is it uncrackable...?
I have some files stored in a MySQL database... I encoded this data using
base64_encode..
These files can be anything from .pdf files to .jpg or even a Word document...
To make these files visible I made the following code:
On Wednesday 22 August 2001 03:05, Chris Aitken wrote:
I have come up with a bit of a problem
I have a little funky search form on a page, and when I send the search
data on as a URL, anything with a space is screwed up example
$search = This is a test;
echo a
Hello everyone,
I have a simple question, and I hope I ask it correctly without any
confusion. I want to build my own template scheme without using any 3rd
party, ready-made freeware template codes. But I am confused about one
thing. I am building a content driven website. The templates (such as
Hi Niklas,
You can use || or OR.
Secondly, huge list of values you say? Can this list be exploded by a
common denominator, like a space or comma? If so, consider this:
$list = // Huge list of words (array), separated by a comma.
$words = explode(,, $list);
$query = SELECT * FROM table WHERE
Richard,
No, the code was cut from the php file and displayed as is in my e-mail. I
also tried to see if I could declare the two suspect variables in another
IF() statement before the IF() statement that's fouling the execution of the
.jpg construct, but no luck there too. Could I just be
Hi
I decrease image size using imagemagick with the following command:
function example() {
$convert = cat $userfile | /usr/X11R6/bin/convert - $type:-;
return `$convert`;
}
the returned binary value is uploaded to the DB.
My main problem is that I don't know how to measure the decreased
Hey everybody,
I'm trying to connect a mssql db, but cant't even load the extension for
mssql
Where do I get the file php_mssql70.dll (php4)?
Thanks everybody!
Phil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
it should be inside C:\PHP\extensions
if the file is not in there, then you should download the package again.
also remember to specify the extension in your php.ini!!
cheers
raphael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Does socket() function works on windows or not?
Thanks
Boris
--
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]
Thanks a lot.
And sorry about in my subject message but at a prior post on
this list I managed to skip some responses due to the volume of this list.
Thanks again,
Alex Sofronie
[EMAIL PROTECTED]
- Original Message -
From: Sheridan Saint-Michel [EMAIL PROTECTED]
To: Alex
I orginal have a function like the following...
$fp = fopen ( $HTTP_SERVER_VARS['DOCUMENT_ROOT']./log/debug_message.txt,
a );
fputs ( $fp, \nDebug message from : $PHP_SELF\n );
fputs ( $fp, \t$message\n\n );
fclose ( $fp );
But I found that, the result is, all message is append to the
I would like the server on win2K to parse .php files whereever on the computer they
are located.
The server should run as service.
What server allows this?
Helmut
Hello all
In the Apache config file, we have the following directive:
SetEnvIfNoCase Referer ^http://www.oursite.com/; local_ref=1
FilesMatch .(gif|jpg)
Order Allow,Deny
Allow from env=local_ref
/FilesMatch
We use this to prevent people from directly linking to .gif and .jpg files.
This
Hey everybody,
Im trying to tell php to search my extensions... I tried everything but it
doesnt work... does anybody has an idea???
c:\windows\php.ini says:
- extension=php_mssql.dll
- extension=php_oci8.dll
- extension=php_openssl.dll
and
- extension_dir = c:\windows\system\
I even
Why LEBANON isn't listed?
Richard Lynch [EMAIL PROTECTED] wrote in message
036b01c12aa4$51b7fce0$6401a8c0@Lynchux100">news:036b01c12aa4$51b7fce0$6401a8c0@Lynchux100...
Check at http://www.phpusergroups.org to see if there's a User Group in
your
area.
--
WARNING [EMAIL PROTECTED] address is
I need to look up a table's foreign keys using the unified ODBC-functions.
'odbc_foreignkeys()' requires me to pass seven parameters, each of them being
mandatory, to archive this.
Because the approach is not intuitive anyhow and there is no documentation
available except of the PHP-manual's
Hi all
I have a web fetching script that fetches text from an external URL and I
would like to grab two lots of text at the same time - can anyone tell me
why this isn't working?
?
$GrabURL = http://grabfile.html;;
$GrabStart = start;
$GrabEnd = stop;
$file = fopen($GrabURL, r);
$rf =
Hi,
Internally I use variables but I use the array to update the value since
I have problems with the scope inside classes. So I update the value on
the array just at the end of the script by registering an update
function with register_shutdown_function().
What is the reason that I should not
What response are you expecting, and what response are you getting?
assuming your regex is working as expected, you are running it twice to receive
the same result into 2 different variables??? why not just copy the variable
after
additionally, $printing is filled with the matches of your
$seconds = explode(:, $time);
$seconds = $seconds[0] * 3600 + $seconds[1] * 60 + $seconds[2];
Or use www.php.net/mktime
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Networks - More Than White Hats
Web Application Security - www.whitecrown.net
*/
- Original Message -
From:
Use gmmktime() or mktime()
example :
?php
echo gmmktime(12,12,0,1,1,1970);
// format(hour,minute,second,month,day,year)
// counting starts from 1/1/1970 so if you set this day you will receive the
secongs
// gmmktime accoring GMT or mktime() accoring you local time (mine is GMT+3)
// so 12:12:00
Try this:
http://www.php.net/manual/en/ref.curl.php
- Original Message -
From: Ben Quinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 2:35 PM
Subject: [PHP] Web fetching script
Hi all
I have a web fetching script that fetches text from an external URL
[EMAIL PROTECTED] (Stefen Lars) writes:
In the Apache config file, we have the following directive:
SetEnvIfNoCase Referer ^http://www.oursite.com/; local_ref=1
FilesMatch .(gif|jpg)
Order Allow,Deny
Allow from env=local_ref
/FilesMatch
We use this to prevent people from
Hi Julie,
I realised that I had a case sensitivity issue with my script alias and
corrected it.
So far so good.
I then retried it and got the following error message:-
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
pegc I then retried it and got the following error message:-
pegc Internal Server Error
pegc The server encountered an internal error or misconfiguration and was unable to
pegc complete your request.
pegc Please contact the server administrator, [EMAIL PROTECTED] and
pegc inform them of the
I wanted to make a script to allow publishing from Netscape Composer using
PUT request on my Apache server with PHP4. I have tried the example from
manual. But i can not get the uploaded file. The
$PHP_UPLOADED_FILE_NAME is not set and the
$PHP_PUT_FILENAME allso is not set. Vhen I send the
If they're empty but phpinfo displays them you're probably inside a function and
haven't declared HTTP_POST_FILES as global.
Jason Dulberg wrote:
I am working on an image upload script and I've tried to use the variables
from $HTTP_POST_FILES however it seems that no matter how I try to get
Hello
i'm using Sablotron as a PHP module to generate XSLT transformation.
(Debian potato release, Apache-1.3.20, sablot0.60, Expat-1.95.2, libxml2,
Libc6)
Have seen in main.c that the ressource xh returned by the xsl_create()
functions is not implemented in another XSLT functions as
form ENCTYPE=multipart/form-data method=post name=form action=?php
echo $PHP_SELF;?
input type=file name=new_file class=textfield
/form
-=-=-=-=-=-=-=-=-=-
?php var_dump($HTTP_POST_FILES);?
or:
?php
if (preg_match('/(http:\/\/.*)/', $HTTP_POST_FILES['new_file']['name'],
$matches)){
echo
I didn't think php was this fussy, but the following code seems to not work
because the numbers are floats. round() doesn't seem to help either:
$siz=(72/160)*GetImageWidth($fileID);
$offx=(8/160)*GetImageWidth($fileID);
$offy=(1/2)*GetImageHeight($fileID);
ImageTTFText ($im, $siz, 0, $offx,
Thought this may be of interest to somebody.
~kurth
Delivered-To: [EMAIL PROTECTED]
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
List-Id: vuln-dev.list-id.securityfocus.com
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Unsubscribe: mailto:[EMAIL
Hi ,
I was wondering if there was a way to retreive a column_name instead of a
value in a query?
For example if my table has the fieldfirstname, lastname, telephone,
movie1, movie2, movie3..
And my first record is JohnDoe 555-
good bad bad
(int)$siz will give you what you are looking for. although with the math
below, you are going to end up with 0.
$siz = 72 / 160;//returns 0.45
echo round($siz); //returns 0
echo (int)$siz; //returns 0
-Original Message-
From: Seb Frost
amen. :-)
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]]
Subject: [PHP] Re: Mem and variables
At any rate -- The right way to worry about perforance is to figure out
where your code is spending 90% of its time, and to optimize that. I'm
betting it ain't in
I'm getting the following error with phpMyAdmin;
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2) in
/home/web/isp.com/public_html/dloc/admin/lib.inc.php on line 308
Error
Any ideas where to start looking. All I've set in the
I've written a separate function library for a cluster of web pages, and I
then include(slib.php) in each of the web pages, instead of copying 12k
of code to each page individually. Some of the pages require (simple)
authentication or redirection headers, which some of the code in the
library is
hi!
do you know an easy-to-use-php-counter, which uses mysql to store the data?
gert
--
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]
At 05:49 PM 8/22/01 +0200, you wrote:
hi!
do you know an easy-to-use-php-counter, which uses mysql to store the data?
gert
Not off hand, but I could probably program one within the day.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I had the EXACT same problem... what you need to do is find where the
'mysql.sock' file is on your computer (sometimes it's at /var/lib/mysql.sock
or some place like that).. then what you need to do is create the mysql.sock
file in the /tmp directory (for some reason it wouldn't let me copy over
I have a script which has to do a *lot* of work. In fact, it times out
after 300 seconds, but is only about half done at that point. So I
tried using set_time_limit(0) to no avail (php is *not* running in safe
mode). So next I tried this directive in the apache config file:
php_value
See if is there some kind of echo before header()s, or HTML sent to
browser.
You cannot do this
html
head
Bla bla
?php header(Location : any_script.php\n\n);?
/head
body
/body
/html
Why? Because there is already content sent to the browser. If some code
uses
header() place
At 11:58 AM 8/22/2001, Jay Paulson wrote:
the socket has to be made by the mysql deamon. Read the mysql docs on
mysql.org search for mysql.sock. mysql will not work if that files is
deletedif you run redhat or other distros make sure that /tmp and
/var/tmp aren't cleaned at each reboot
No, but I could throw one together in 10 minutes.
Here is some 5 minute untested code to get you started
where int count is in table counter.
?php
$dblink = mysql_pconnect(localhost,username,password);
mysql_select_db(DB);
?
!-- HTML PAGE --
?php
$query = Select count from counter;
if(
Here goes a sample code.
The db interaction is throurh db abstraction layer but easily can be
translated to used directly mysql_* functions.
?php
include 'db.lib.php';
include 'webstats.lib.php';
class ClientBrowser{//-=-=-=-=-=--==-=-=-=--==-=-=-=-=-=-=-=-=-=-=-=-class
Don't know if this is the place to ask this, but I'll find out soon.
I'm trying to create a database in mysql that will hold information
About users, it will hold the path to a picture, and it will resize
Images on a page... sorry that's a really blunt description.
A user will goto this certain
This is not an issue if you're site is using Apache, correct?
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 11:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Fwd: BadBlue v1.02 beta for
I have try this but, PHP just overwrite the prevoius content, and write the
new message into the file.
But I want to INSERT the new message into the head of a file.
Or , I did a wrong thing again??
My code is like now.
$fp = fopen ( $HTTP_SERVER_VARS['DOCUMENT_ROOT']./log/debug_message.txt,
r+ );
maybe
$time=12:12:00
$x=explode(:,$time);
$sec=($x[0]*3600)+($x[1]*60)=$x[2];
rm
--- nafiseh saberi [EMAIL PROTECTED] wrote:
hi.
how do I covert convert 12:12:00 to seconds ?
I want to get time from system and covert it to
seconds to do
arithmetic work on it.
thanks.
--
At 12:10 PM 8/22/2001, Tom Malone wrote:
read the advisory - everything is explained.
~kurth
This is not an issue if you're site is using Apache, correct?
Tom Malone
Web Designer
http://www.tom-malone.com
-Original Message-
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent:
Hi, all.
Sorry, I know there is out of the topic, but you are highly possible to help on
this.
My browser --Internet Exporer will remember my userID and password, and the next time,
after I type the first char of my user ID, it will automatically fill in the userID
and password. Is there a
Hello all:
Just a quick reminder about our upcoming PHP training course.
We'll be holding a 5 day, hands-on, instructor-led PHP training course
October 1-5 in Ann Arbor, Michigan. We're gearing this more to
newbies and medium-level PHPers than high-end advanced PHPers,
because our previous
A couple of things:
1. ASP is not dumb. It was just written by Microsoft. Seriously, though
I'd learn both, it would make you much more marketable.
2. First off, create the database. Then ask yourself what are the steps
that you have to go through. What your probably looking at right now
Is this PHP listserve available as a newsgroup? I'm getting tired of
managing this much mail everyday. I'd like it a bit simpler.
If this list is not available, are there other equally busy newsgroups for
PHP?
Thanks,
Christopher Raymond
--
PHP General Mailing List (http://www.php.net/)
i'm working on a site that is going to require some fancy image switching
based on URL called...thats part isn't a problem...the problem comes in the
way that i'm passing the HTML from the function.
My main concern here is speed with the second being workload on the server.
right now the
Well, just off the top of my head, you seem to be mostly storing data.
None of the strings you are storing contain any variable values, so they
don't need to be double quoted. I would even take it a step further,
and move all your HTML data into raw text files, then use the readfile()
Yup, connect your news client to news.php.net.
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Christopher Raymond) wrote:
Is this PHP listserve available as a newsgroup? I'm getting tired of
managing this much mail everyday. I'd like it a bit simpler.
If this list is not available, are
Just look through the preferences, disable forms auto-complete. That
should take care of it for forms, I don't know about dialog boxes.
In article
[EMAIL PROTECTED],
[EMAIL PROTECTED] (Zhu George-Czz010) wrote:
Hi, all.
Sorry, I know there is out of the topic, but you are highly
point taken...thanks
At any rate -- The right way to worry about
perforance is to figure out
where your code is spending 90% of its time, and to
optimize that. I'm
betting it ain't in variable lookups for most of us
__
Do You Yahoo!?
Make
That's exactly what I needed! Thanks!
Richard Lynch wrote:
You may just need a flush() call after the Starting UNZIP.
http://php.net/flush
PHP (Apache, actually) sends data to the browser when there's enough to
send, not right away.
--
WARNING [EMAIL PROTECTED] address is an endangered
Hi can anyone help me please!?
I have a page that has a navigation table on the left with various links:
Information
Software
Cars
Dishwashers
Paper
Contact
etc...
(not the real links ;))
and I want the cell of the section I am in to be highlighted (ie if I am in
Cars I want the Cars link to
Now I just feel like an idiot... that was the answer! I had all the other
globals registered but that one.
Thanks for your time!
Jason.
If they're empty but phpinfo displays them you're probably inside
a function and haven't declared HTTP_POST_FILES as global.
Jason Dulberg wrote:
I
Anybody knows a good free PHP with Mysql code for implementing a forum?
-
Emiliano H.Marmonti
Informático Módulo de Bibliotecas
Programa SIU
Ministerio de Educación de la Nación
There are many. Get thee to Freshmeat and search for:
PHP mysql forum
http://www.freshmeat.net
Have fun,
- Erik
-Original Message-
From: Emiliano Marmonti [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 22, 2001 3:26 AM
To: Lista PHP
Subject: [PHP] Urgent!!! Forum code
I'm gonna be using windows XP whistler home edition.
Can someone tell me if i'll be needing a different
version of PHP4 to download install and the
installation instructions to go along. So far that
i've heard is that it's the same as Windows 2000, but
i'm muchly new at this thing so it'd be
Try the following:
phpBB: http://www.phpbb.com/
Phorum: http://phorum.org/
Jeff Lewis
- Original Message -
From: Emiliano Marmonti [EMAIL PROTECTED]
To: Lista PHP [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 4:26 AM
Subject: [PHP] Urgent!!! Forum code
Anybody knows a good free
Is the menu part of each page? Or is it a separate file/script that
gets included in each page? Or is the navigation in a separate frame?
If the menu is hard-coded into each page, then there's no reason to use
PHP, because you have to modify each page ANYWAY, so you might as well
just set
Hello,
I'm having problems with sessions. Since I use MySQL to store sessions, I
always have to call session_write_close() at the end of every page,
otherwise session variables don't get saved.
If I use PHP's built-in 'files' method to store session vars, then
everything works fine, I don't
Hi,
I get an error message which I can't figure out.
Its a Parse error: on line 142 which is the last line of the page containing
absolutly no code. The last line of code is simply /HTML..Did
anyone have a similar experience? Can anyone help me out please?
--
PHP General Mailing List
Hi Jeremy,
I get an error message which I can't figure out.
Its a Parse error: on line 142 which is the last line of the page containing
absolutly no code. The last line of code is simply /HTML..Did
anyone have a similar experience? Can anyone help me out please?
I guess you
On Wed, 22 Aug 2001, Jeremy Morano wrote:
I get an error message which I can't figure out.
Its a Parse error: on line 142 which is the last line of the page containing
absolutly no code. The last line of code is simply /HTML..Did
anyone have a similar experience? Can anyone help me
At 03:12 PM 8/22/01 -0400, you wrote:
Hi,
I get an error message which I can't figure out.
Its a Parse error: on line 142 which is the last line of the page containing
absolutly no code. The last line of code is simply /HTML..Did
anyone have a similar experience? Can anyone help me out
Heya!
All adive given so far is good. You might also want to check for a
non-closed if { } statement.
If you've got something like:
-
html
? if(isset($foo)) {?
html 1
? } else { ?
html2
/html
-
You'll get an error in the last line, where the /html resides.
Hope this is a
Hi there,
well...I'm tired of searching so I'll drop a note here.
I've been busy working with php (4.0.6) sessions lately for an online
shopping cart, which works really great.
Only problem is, the temporary session-files are not removed after a certain
timeout occurs.
The
in the php.ini you can set the garbbage collection higher than 1 but that
puts a bigger load on your computer... what garbage collection does is that
it goes through and deletes all the session files that have expired due to
the setting of the session.gc_maxlifetime.. so right now with the way
Hi,
I have a problem with pointers in php.
In the following code the parent object should be a pointer to class Main
($this), but it's a copy ...
Any ideas ?
Thx Chris
?php
class Sub_A {
// constructor
function Sub_A($parent) {
$this-parent = $parent;
}
function Modify($text) {
I ran some tests of different header configurations of 6 browser/platform
combinations to find out what worked and what didn't. I didn't cover all of
the platforms available, just those that my user-base uses, so this isn't
complete.
combinations tested was IE5.5, NN4, NN6 for Windows 98 and
Hello, I have the next problem and I don't know how can I have the solution:
I wan to read a socket output, and format the lines, but
first: Can I make some kind o sizeof in the buffer that I'm receiving?
That's because the read of the socket it's very slow; and if I read for
example 256 for
My e-mail to cousin Bobby will be most informative. The details are in the indicated
web site.
---
To: Bobby Lazam
Subject: Thank you for the second set of
Dear people:
I have tested the address you have send me. I like one or two but thay are too
complex, I don´t need registration, sessions, etc. Only I need a mail input line, a
person line input and the text. Pretty simple but I can´t find anything like this.
Could anybody help me? Thanks
OK here's the code in the page:
!-- Start Navigation --
div id=navbar
table class=navtable width=160 cellpadding=4
!-- Navigation Bar Heading --
tr
td class=navheadWelcome/td
/tr
trtd class=navtext id=sela href=Home/a/td/tr
trtd class=navtexta href=Introduction/a/td/tr
trtd class=navtexta
What is the reason that I should not use the array? Is there any problem
doing it that way?
They array is simply not designed for you to use as if it were your
variable.
What you want to do is this:
?php
# Beginning of script:
session_start();
session_register('count');
More as an exercise to get back into the swing of PHP, I have created the
PowerBall number generator. (for those of you un-aware, the powerball is at
$200 mil).
Took me a while to figure out using arrays, and the array_unique function.
It also incorporate the imagepng function.
Thanks to CC
I worked on a script like yours for a looong time now!
I need to force the download of various type of file, doc, pdf, zip, even
html!
Your script works fine on Opera 5.02 and netscape 4.76 on my win NT 4.0 box,
but
not on IE 5.5 On this one, it offers me to download the script file but
Okay, well you could either put code like this into each td cell like
this:
td class=navtext ?php if (sect == 5) print id=\sel\; ?
That is kind of ugly, however. A more elegant solution would be to make
an array containing the links then do a loop kind of like this (I'm just
typing the code
Martin Hughes [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
OK here's the code in the page:
!-- Start Navigation --
div id=navbar
table class=navtable width=160 cellpadding=4
!-- Navigation Bar Heading --
tr
td class=navheadWelcome/td
/tr
trtd
Hi. I've recently set up phpMyAdmin on an OS X 10.1 server. Everything was
fine, and it set up great. I then restarted the Apache server and am
getting this message:
Warning: Access denied for user: 'root@localhost' (Using password: YES) in
For those who might run into the same problem in the future:
If functions like mysql_db_name are not working and you get no
mysqlerr, then most likely your PHP installation is messed up. Maybe you
see the same behavior than we: phpinfo shows old and wrong stuff in the
first section, i.e. an
Hi all. I just stumbled across this earlier this week. It's an app called
JaneBUILDER that helps with some of the PHP tedium of connecting,
selecting, and grabbing data from your MySQL db. I was amazed at how fast I
put together an admin section for a client...3 minutes generated 10 pages!!!
Has anyone a PHP Script for the checksum of Creditcards?
And a Script which can identify card types based on their first numbers?
(VISA, AMEX, MASTER, DINERS, JBC, DISCOVERY)
There where a lot of JavaScript pages on the web some years ago, but I
have lost my local copies and the pages are
1 - 100 of 176 matches
Mail list logo