I am trying to basically copy data from one database to another and am
wondering if it is possible to have more than one database open at a time.
So for example, I want to do something like this but am wondering if there
is a better way:
$dbcon = mysql_connect($db_server, $db_user, $db_passwd);
Not sure, the tables are in different databases with different users and
passwords. I will look into it but the answer I got this afternoon
satisfied me :)
Jeff
- Original Message -
From: "Miles Thompson" <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTECTE
Is it possible to measure the amount of RAM or CPU power used to process a
particular file written in PHP? Can the values be grabbed and displayed
with PHP?
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
They are very questionable. Have had heard many complaints from clients and
associates about these guys shutting down sites without warning, anything
that starts to get a few hits seems to be an issue with them...
Again, you get what you pay for people :)
Jeff
- Original Message -
From:
Sometimes when using PHP/mySQL I have encountered a locked table. I have no
idea why it occurs, I am not explicitly locking the tables but sometimes in
phpmyadmin it says "in use". Is there a way to "unlock" this table using
PHP?
Jeff
--
PHP General Mailing List (http://www.php.net/)
To uns
We have some software where there is a form that people can enter a message
in. When submitting the form, it is directed to a function that has global
declarations for the subject and message of the post.
This worked up until yesterday. And it didn't just happen on one site, it
stopped on sever
I was returned this error after a mysql_query:
1030: Got error 28 from table handler
What does this mean? It doesn't happen all the time and it almost random...
I searched the mysql site and didn't find anything and a search on Google I
found that it is a table that may have become corrupt so i
More digging has turned up that the disk space is low or running out...so I
will look into that.
However, if anyone has any tips I'd greatly listen :)
Jeff
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, Mar
You can also give YaBB SE a shot http://www.yabb.info
- Original Message -
From: "Chuck "PUP" Payne" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 7:11 PM
Subject: [PHP] Phpfx, what is it?
> Hi,
>
> I was sourgeforge.net looking at the PHP st
We've used email ban and IP ban but there are easy ways around this as you
all know. I am wondering if there is anything a little more hardcore to do
as far as banning goes. I had read somewhere about grabbing a MAC address
or something similar from a network card. Has anyone heard of this meth
Another one is http://www.phptalk.com
- Original Message -
From: "Martin Cabrera Diaubalick" <[EMAIL PROTECTED]>
To: "Jason Whitaker" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, April 16, 2002 7:11 AM
Subject: Re: [PHP] PHP
> It's a Forum, not a chat.
>
> http://forums.know
I am in a function called Login2 in which I call the following:
session_start();
session_register("valid_user");
session_register("privs");
valid_user contain a name - Jim
privs contains a number -1
Right after I call those I try a is_registered and it showed that these
registered correctly. I
I've decided to use the _SESSION method instead and it works just fine :)
So...thanks for suggesting that method, as it does look neater in the code
as well.
Jeff
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTEC
I am storing session information by using $_SESSION[privs] and it works for
the first screen but when I click on the next link it doesn't seem to carry
over. Do I need to declare session start with this method? Do I need to
make it global?
Jeff
--
PHP General Mailing List (http://www.php.
: Sessions not staying a session...
>
>
> You should use session_start(); on every page that u want to pass session
> information..
>
> Craig
>
> "Jeff Lewis" <[EMAIL PROTECTED]> wrote in message
> 00d601c1ec72$072a63d0$76a1a8c0@LEWISJCIT">news:00d601c1e
I am working on an odler script which loads up in index.php and a URL is passed
usually like index.php?s=something
Now, around line 10 of index.php I do an include that pulls the value of s via
HTTP_POST_VARS and then I dump it into $start.
It used to work just fine and still does except on 4.
it keeps turning up empty.
Jeff
- Original Message -----
From: "John Holmes" <[EMAIL PROTECTED]>
To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 10:13 PM
Subject: RE: [PHP] 4.2 new GLOBALS question
> > I
Try YaBB SE http://www.yabb.info
- Original Message -
From: "r" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 27, 2002 7:21 AM
Subject: [PHP] BBS system
> Hey all,
>
> Just a small q,
> does anybody know of any particular good BBS system that is free? (I aint
> ric
Austin,
I am using 4.2 on a W2K machine at work and have had no problems with the
mysql_fetch_* functions.
Only thing I had to get used to was the new way to handle globals.
Jeff
- Original Message -
From: "Austin W. Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, Apr
Actually... the version of YaBB at yabbforum.com is strictly a Perl based board. It
doesn't use mySQL either. The PHP version of YaBB is at http://www.yabb.info but it
relies on mySQL.
There is Easy Forum http://www.hotscripts.com/Detailed/15435.html
There is Eboard http://www.hotscripts.com/
he MAY have been thinking of the PHP version which is at www.yabb.info and
also in use over at http://www.phptalk.com
Jeff
- Original Message -
From: "John Fishworld" <[EMAIL PROTECTED]>
To: "Mizery De Aria" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, May 06, 2002 10:29 AM
Subj
I've looked through the archive and seen that people have attempted it but I
am wondering if anyone has actually gone forward with using PHP and frames
together.
I ask as I am using a very simple frame interface. Left side contains a
menu system with all content etc on right. I have a login box
Currently, people can post links to images in an application I am using but
they can post something outrageous like 1000X800 pixels and it messes thing
up on the format. I was sent this as a solution but it really bogs down
especially on images from certain servers. Is there a better way to do
t
Never used Phorums as it didn't have what I was looking for. Tried phpBB
but the admins ection is awful IMHO. I currently use YaBB SE which has a
very fast development time.
Jeff
- Original Message -
From: "Richard Baskett" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent:
For now you can add this to the top of your scripts:
$types_to_register = array('GET','POST','COOKIE','SESSION','SERVER');
foreach ($types_to_register as $type) {
$arr = @${'HTTP_' . $type . '_VARS'};
if (@count($arr) > 0) {
extract($arr, EXTR_OVERWRITE);
}
}
Somebody else
I am running PHP 4.2.1 on Windows XP. I had 4.1.2 running perfectly fine and
then decided to get MSSQl running as well. So I ran into a problem where it
failed to load the DLL. I read through the archives and it said to make sure
I have the most up to date DLL, so I then installed 4.2.1.
Now, whe
Yes and that isn't in there (php4\pear). I looked in the php.ini in windows
and in php folders...
Jeff
- Original Message -
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL
ff to update the scripts!
Jeff
- Original Message -
From: "Martin Towell" <[EMAIL PROTECTED]>
To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Thursday, May 30, 2002 8:33 PM
Subject: RE: [PHP] Failed o
Is it just me or the forum area totally overflowing with choices? I often
wonder why people don't pool talents and work on really great products,
instead people break off and make their own system - quite unusual...
Jeff
- Original Message -
From: "Ilia A." <[EMAIL PROTECTED]>
To: <[EMA
Ed,
Currently none to my knowledge, however, YaBB SE 2 which is in development
has this feature roughed in already. However, it's still in development.
Jeff
- Original Message -
From: "Lazor, Ed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 1:35 PM
Subject:
We're using a FTP Control program here but it's very old and I'm wondering
if anyone has used PHP to sync up FTP sites, to connect to a remote server
and check if there is anything new...
Not quite sure where to start with it though...
Jeff
--
PHP General Mailing List (http://www.php.net/)
To
Currently I am using fsockopen on my IP and a port and when sending a UDP
request it always says it's open. Now, what I'm trying to do is see if I
have an application running on there. This application listens to the port
I'm trying to hit.
Is there a way with fsockopen I can do this? Instead of
Shane,
I use a javascript prompt. When you click OK, it passes the information on
to the PHP script to do the work :)
Jeff
- Original Message -
From: "Shane" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 27, 2002 12:48 PM
Subject: [PHP] Best Delete Confirmation Script
He is both, he has been emailed how to get off. For now, I keep just sending
my read receipts :)
- Original Message -
From: "R'twick Niceorgaw" <[EMAIL PROTECTED]>
To: "Erik Hegreberg" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 6:30 PM
Subject: Re: [PHP]
ww
I have this code in my program but I fail to find the error, does anyone see it after
a quick glance?
I COULD be wrong but wasn't Kurt the guy who posted frequent questions like
this when he was starting off? :)
Jeff
- Original Message -
From: "Kurt Lieber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 12, 2001 5:55 PM
Subject: Re: [PHP] using mail
> Did you RTFM?
>
Someone may have a better way but you can read each line (assuming the file
uses \n for a new record) and use:
arrayname = explode("|",$variable_holding_line_from_file);
Then you can do assign the variables as such:
$name = $arrayname[0]; etc
Could be a better way from the list :)
Jeff
-
Is there an equivilant to Perls exit function? I am calling a fatal error
function in PHP and I want it to end the script, just want to end the whole
program if this is called.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
, 2001 6:41 PM
Subject: Re: [PHP] Equivilant of exit;
> Hi Jeff,
>
> @ 6:26:28 PM on 11/16/2001, Jeff Lewis wrote:
>
> > Is there an equivilant to Perls exit function? I am calling a fatal
error
> > function in PHP and I want it to end the script, just want to end the
whole
> &
I've a question regarding variable variable I was hoping someone could help me with:
All the examples in the manual have the entire variable name being variable e.g.
$a = "hello" and
$$a being the same as $hello
What I need to do, however, is append a variable portion to a constant prefix. So
l Message -
From: "Christopher William Wesley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Jeff Lewis" <[EMAIL PROTECTED]>
Sent: Friday, November 16, 2001 10:38 PM
Subject: Re: [PHP] Question on variable variables
> On Fri, 16 Nov 2001, Jeff Lewis wrote:
&
ce("//",${$tags[1]},$curline);
Jeff
- Original Message -
From: "Jason G." <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, November 17, 2001 7:02 AM
Subject: Re: [PHP] Question on variable variable
I would think it's an HTML problem, try:
echo "";
or
echo '';
Jeff
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 17, 2001 11:20 AM
Subject: [PHP] problem with image
> when i want to put an image like this (echo "";), my
> php is not
I am wondering if there are any difference between using PHP and using the
command line for mySQL. Entering this at the comman line returns all the
membergroups properly. When I use this in my PHP program, it doesn't
continue past this line:
$request = mysql_query("SELECT membergroup FROM membe
I am storing a birthdate in my database as a Unix timestamp but when I
display it I want to calculate the different between that date and todays
date and display the persons age.
How can I do that with PHP?
I also want to know if it is currently their birthday. So trying to set
$isbday to yes i
= floor($DIS / (60*60));
$DIS -= $hours * (60*60);
$mins = floor($DIS / 60);
$DIS -= $mins * 60;
$diffstr= "$days Days, $hours Hours, $mins Minutes, $secs Seconds";
return $days;
}
- Original Message -
From: "Jack Dempsey" <[EMAIL PROTECTED]>
To: "Jeff Lewi
I'm trying to port over some Perl to PHP and have come to a string of regular
expressions like this. There are probably 30 of them:
$message =~ s~\[color=([\w#]+)\](.*?)\[/color\]~$2~isg;
$message =~ s~\[black\](.*?)\[/black\]~$1~isg;
$message =~ s~\[white\](.*?)\[/white\]~$1~isg;
How can I ac
I was typically using pconnect but then read that for very busy sites you
can reach the max threads for mySQL quickly. So on my new server I have a
couple of scripts and they are using mysql_connect.
I was under the impression that these disconnected after script execution
but when checking, the
I have a file that contains settings and there are a lot of comments in
there and a lot of variables. An excerpt of the file looks like below. My
question is, is it possible to change only certain variables? For example,
I want to set just the db variables, is it possible for me to input the ne
I am prompting users for a number of days and then wanting to pull items from a
database older than the number of days. All dates are stored as timestamps in the
database so wondering how I can come up witht he required timestamp to compare with?
(for for example 30 days).
I have a difference
I'm pretty sure you can't. You would have to set up an area where they can
have their password reset and the new password emailed to their email
address.
Jeff
- Original Message -
From: "Dan McCullough" <[EMAIL PROTECTED]>
To: "PHP General List" <[EMAIL PROTECTED]>
Sent: Wednesday, Decem
I am using this line in part of my code but am getting an error that looks like below:
Code:
$serverDetails = @file("http://www.myserver,com/versions.php?l=$scripturl&v=$version";);
Error:
2: php_network_getaddresses: gethostbyname failed
(c:\inetpub\wwwroot\yabbse\Sources\Admin.php ln 43)
Wha
Sorry that was a typo, it is a period, I mistyped into the email. If it
cant resolve the name, what would cause that problem?
Jeff
- Original Message -
From: "Darren Gamble" <[EMAIL PROTECTED]>
To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; <[EMAIL
Again, this works on some servers and othes not. Does IIS support this
particular function?
Jeff
- Original Message -
From: "Darren Gamble" <[EMAIL PROTECTED]>
To: "'Jeff Lewis'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, De
Never thought I'd see this pop on here :) As mentined before, Ikonboard is
in fact Perl and up until recently was only flatfile. Another you may want
to try is http://www.yabb.info (PHP/mySQL combo)
Jeff
- Original Message -
From: "Indera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sen
I am creating an image on the fly based on newest entries in one my mySQL
tables. In this created image I am trying to add a small one to it. Now I
am TRYING to use the below code:
$image = ImageCreate(500, 70);
$bg = ImageColorAllocate($image, 255, 255, 255);
$blue = ImageColorAllocate($image,
Ok, I have tried Experts Exchange, Devshed, and even posted on here asking.
Does anyone know how to use the image generation?
I looked for a good site on it but found nothing...
My problem.
I am creating an image on the fly based on newest entries in one my mySQL
tables. In this created im
Here is the function I use when I am comparing differences ($now and $old
are Unix timestamps):
function datediff($now, $old)
{
$DIS = $now - $old; // Diff In Secs
$secs = $DIS % 60; // modulo
$DIS -= $secs;
$days = floor($DIS / (24*60*60));
$DIS -= $days * (24*60*60);
$hours = flo
I have changed it to below but still get this error "Warning: Supplied
argument is not a valid Image resource in /home/hyrum/public_html/test.php
on line 41" and that is the ImageCopy line:
$image = ImageCreate(500, 70);
$bg = ImageColorAllocate($image, 255, 255, 255);
$blue = ImageColorAllocate(
P image generation?
>
>
> shouldn't it be
> $himage= "/usr/hyrum/public_html/images/topics/hyrum.gif";
> not
> $himage= "usr/hyrum/public_html/images/topics/hyrum.gif";
>
> notice the first slash
> - Original Message -
> From: Jeff Lewis &l
$image, 3, 0, 50, $title3, $black);
> ImageCopy($image, $himage, 400, 5, 1, 60, 60, 60);
>
> ImagePNG($image, "signature.png");
> ImageDestroy($image);
>
> - Original Message -
> From: Jeff Lewis <[EMAIL PROTECTED]>
> To: ReDucTor <[EMAIL PROTEC
Todd,
I'm not sure if you can write text to an existing image as I add to a new
one but here is the code I use...
$updateTime = date("F d, Y - h:ia");
$text = "New Movie Reviews @hyrum.net ".$updateTime;
$image = ImageCreate(500, 70);
$bg = ImageColorAllocate($image, 255, 255, 255);
$blue = Ima
I strongly suggest this book. I bought it about a month or two ago and
learned PHP with it. it is an EXCELLENT book.
Jeff
www.hyrum.net
www.xnull.com
> If database work is anywhere in your future, though, try "PHP and MySQL
Web
> Development" by Luke Welling and Laura Thomson. It is an EXCELL
I fought the urge to post this here but have to :(
I have two tables named like this:
owners
-ownerID
-teamname
-more fields
teampages
-ownerID
-bio
Anyway, I'm doing a select on the database like this: select ownerID,
last_update FROM teampages ORDER BY last_update DESC LIMIT 10
The thing is
Is it possible to parse an HTML like at:
http://hyrum.net/wwbl/HTML/watrost.htm ?
I'd like to be able to grab the player name and ratings and add them to a
"pretty" HTML output :)
Jeff
Anyone have a tutorial or site dealing with PHP and MS Access databases?
Jeff
www.hyrum.net
www.xnull.com
I have a directory with 163 files. I'd like to go through and process all
files with the word "rost" in them.
I'd like to go through each of these files and go line by line to enter the
data into a mySQL table.
An example of the file would look like this:
http://hyrum.net/wwbl/HTML/watrost.htm
Make sure you also give the path to perl/php. Below is my cron job, it
needs to know the path of the interpreter.
/usr/bin/php /home/user/public_html/test.php
Jeff
> -Original Message-
> From: Ben Bleything [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, July 08, 2001 6:34 PM
> To: 'James,
Why don't you add the $file to an array, then do a sort on the array?
sort($array)
Jeff
> -Original Message-
> From: kmurrah [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 09, 2001 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] sorting results of opendir()
>
>
> Greetings.
>
> I need
I am trying to obtain the average age for a few teams in my database.
Am using the below code:
$age_result = mysql_query("select AVG(age) FROM bat_rost WHERE ownerID =
'$teamID'");
while(($row = mysql_fetch_object($age_result))){
$age=$row->age;
echo "Average age - ".$teamID.$age;}
How can I
01 11:41 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [PHP] Average of column...
>
>
> if you do a
>
> $res = mysql_fetch_row($age_result)
>
> $res[0] will be the value of AVG(age).
>
>
> > -Original Message-
> > From: Jeff Lewis [mai
Could try this:
$blue = ImageColorAllocate($image, 0, 0, 255);
Substitue blue for yellow and you'll be the appropriate RGB values for the
numbers.
Jeff
> -Original Message-
> From: SED [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 10, 2001 1:27 PM
> To: [EMAIL PROTECTED]
> Subject:
hop, save it and try it again, then I can use
> the yellow for my text. However, I dont want to have the yellow dot in
> my picture, only a yellow text.
>
> SED
>
> -Original Message-
> From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
> Sent: 10. júlí 2001 17:26
> To:
I'd like to set a cookie that never expires or at least one that lasts a month, how
can I set it? Does it have to be with time?
I am using SetCookie.
Jeff
Ok, I've used cookies before and have never had a problem with them but for some
reason this doesn't seem to be setting! Here is the start of the file called after
logging in to my site. In another file I have echo $wwblCookie and have also tried
echo $HTTP_COOKIE_VARS["wwblCookie"] but no lu
Actually, nevermind. I got it. I was calling a function and sent the
variable with the function so it worked :)
- Original Message -
From: "Jeff Lewis" <[EMAIL PROTECTED]>
To: "Magnus Hammar" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednes
Um, been using PHP for awhile now and don' even know how to grab these:
http://wwbl.hyrum.net/send_email.php?to=4;from=25
I have usually only passed one variable before so all I've need to do is $toID=$to but
how do I get from? I know I should know this but I am either having a major brain
fa
I have a page with about 80 checkboxes on it. The values are names and my users are
to select names. Now on the next step I want to be able to list all names processed.
I thought a for loop would be best but am having problems. $ffromx is the number of
checkboxes generated in the previous s
Is it possible to get the average of two tables. I have an age column in two tables.
I can get the age average for one table both can the average of both tables be found
in one statement? One table is for hitters, the other for pitchers.
Jeff
That gives the following error which is the isset line:
Parse error: parse error, expecting `','' or `')''
- Original Message -
From: "Matthew Luchak" <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL PRO
Looks like I should have been keeping a close eye on that thread... I am pulling
fields from a database and displaying them on my page. I am adding a checkbox next to
the name and storing the name in the checkbox value. Anyway, on submission I want to
process them but am having problems...
p
Try PHP Coder, I like it and use it when I don't use Notepad: www.phpide.de
Jeff
- Original Message -
From: "doug" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 2:50 PM
Subject: Re: [PHP] a good PHP editor
> Ok I downloaded and looked at a few and the winne
Ok, using PHP and mySQL have two tables that look something like this;
Table 1 (users):
userID
location
Table 2 (resumes):
resumeID
userID
I am trying to form a query to pull all the locations and list them on the page.
While I could only just select from the users one I do want to be able to
I'm assuming you're trying to join them and show resumeID also with this
SELECT r.resumeID,r.userID,u.location FROM resumes r,users u WHERE
r.userID=u.userID;
-----Original Message-
From: "Jeff Lewis" <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:45 PM
To:
Lets not destroy the user community now :( All the time I hear "Perl users
are mea and rude" "The PHP community is great". I am just picking up JSP
(have to, for work) and can't stand their manuals and their users aren't
always as nice.
Lets keep PHP nice and friendly ;) Yes it is in the manu
I am trying to receive file names but can't quite figure out the proper substr to do
it:
jeff.dat
jeffrey.dat
chris.dat
tom.dat
I want to receive the name to the left of the .dat
Jeff
RE: [PHP] substr question...I suppose that $tmpmember=substr($entry, 0,-4); will do
the same? :)
Jeff
- Original Message -
From: Boget, Chris
To: 'Jeff Lewis' ; [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 3:54 PM
Subject: RE: [PHP] substr question...
>
I managed to process a directory of files but for some reason I am having
trouble figuring out this :/
I am going through a directory opening all dat files. Now it is working
properly but I need to grab the data from it. I need to grab each line as
indicated below.
Here is the code I was using
Yes actually, I figured it out. I was trying to parse the buffer as well
but managed to figure it out tonight :) Just took a lot of debugging ;)
Jeff
> -Original Message-
> From: David Robley [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 9:31 PM
> To: Jeff L
Why don't you just dump the data and structure and then use that to import
it? I'm sure there is something to do in telnet but I am unfamiliar :)
Jeff
- Original Message -
From: "PHP Junkie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 27, 2001 10:21 AM
Subject: [PHP] M
I am grabbing lines of a file using:
$buffer = fgets($fd, 4096);
How can I grab the line up to \n or does this do it? Like if the line is only a few
characters, it will only grab up to \n?
And if the line up to the \n is a huge message will I still be able to grab all of it
with the 4096?
J
Using this function to dump a table, having a problem outputting the value
below after the SELECT * FROM $ID.
function dump($ID, $link) {
echo "Dumped table $ID";
$fields = mysql_list_fields("hyrum_nuke", $ID, $link);
$columns = mysql_num_fields($f
No need to get nasty :) Keep the list friendly, it's better that way ;)
Jeff
- Original Message -
From: "B. van Ouwerkerk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 8:53 AM
Subject: Re: [PHP] Need for dox...
>
> >I didn't know the http://www.phpbuilder.c
I have a mySQL database holding baseball stats and I want to calculate
rankings on these players. Now I'd obviously want this to be as fast as
possible since I go through about 600 players but where is it best to make
them? In the SQL command itself or in PHP?
players need to have at least 100
Remove the quotes around $uid
Jeff
- Original Message -
From: "Jeremy Morano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 11:09 AM
Subject: [PHP] whats wrong?
> Anythig visibly wrong with this?
>
>
>
> ">
>
> --
> PHP General Mailing List (http://www.p
It's not the first time and I've mentioned it before. I in fact just
emailed all those off list from that thread.
One reason why PHP has lured many in is it's ease of use and it's FRIENDLY
user community.
Sure some people come on here and ask "simple" questions, maybe ones that
can be found in
I'd be happy to host one but I imagine there is one already for the list?
Jeff
> -Original Message-
> From: mike cullerton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 31, 2001 3:08 PM
> To: php
> Subject: Re: [PHP] Attitude of B van Ouwerkerk
>
>
> on 7/31/01 12:37 PM, scott [gts] a
I am creating a search form for an application we're building and I'm
curious how it should be handled. Some search options:
Category:
Any
Computer Programmer
Computer Operator
etc.
Experience can choose between 1 and 2:
Any
1
2
3
etc
Location:
Cities listed
Skills:
added by resume holder
No
Ok, I have to admit, that made me laugh out loud here in the office :)
Jeff
- Original Message -
From: "scott [gts]" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
Sent: Thursday, August 02, 2001 1:05 PM
Subject: RE: [PHP] Oh and one more thing
> it's a little bit complicated, but he
Try this SQL Justin:
$sql = "SELECT * FROM news DESC LIMIT 5";
Jeff
> -Original Message-
> From: Justin French [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, August 04, 2001 5:52 AM
> To: php
> Subject: [PHP] most recent 5 rows
>
>
> Hi all,
>
> I have a table with the column "id", whi
1 - 100 of 137 matches
Mail list logo