I would like to create a script that reads a file name that follows a
specific format and have it parsed into 2 variables. The format is as
follows:
cli_info-ACCOUNT-USERNAME.dat
The two variables that I would like to get out of this are the ACCOUNT and
USERNAME. The rest of the information can
In parsing a file, I ended up with a number of variables that include
spaces. Is there an easy way to remove a space from a variable?
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am trying to create a function that will take a multidimensional array and
turn it into a form based off the information in the array. I have run into
a bit of a road block when it comes to displaying the array. Would anyone
be able to offer some assistance on this front?
- Jason
--
PHP Gen
I actually found a way of handling this on my own. Thanks.
- Jason
"Jason Williard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am trying to create a function that will take a multidimensional array
and
> turn it into a form based off the information
:
Warning: fsockopen(): php_hostconnect: connect failed in
//public_html/status/test.php on line 2
Warning: fsockopen(): unable to connect to xxx.xxx.xxx.xxx:80 in
//public_html/status/test.php on line 2
Down
Can anyone help me out here?
Thanks,
Jason Williard
--
PHP General Mailing
Thank you. That worked perfectly.
Jason
-Original Message-
From: Tom Rogers [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 21, 2003 12:34 AM
To: Jason Williard
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Test Connection - fsockopen()
Hi,
Tuesday, October 21, 2003, 5:04:14 PM, you
I would like to display part of the output of a query. In many cases,
the string returned by this query exceeds 200 characters. Is there a
way to cut it off after 200 characters? Even better, is there a way to
cut it off at the next space after 200 characters?
Thank you for any assistance,
- J
Thanks. That's exactly what I was looking for and is working perfectly.
- Jason
-Original Message-
From: Pablo Gosse [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 7:18 PM
To: Jason Williard; [EMAIL PROTECTED]
Subject: RE: [PHP] Shortening a String
On Tuesday, Octob
} ){
EXECUTE PAGE
}
Thanks,
Jason Williard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks! That did the trick.
Jason Williard
-Original Message-
From: Greg Beaver [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 6:55 PM
To: Jason Williard
Cc: [EMAIL PROTECTED]
Subject: Re: Array --> If
Hi Jason,
perhaps:
Regards,
Greg
--
phpDocumentor
h
I would like to have a script that randomly generates alpha-numeric
characters. Does anyone know of any scripts that can do this or perhaps
the basic code to generate random characters?
Thank You,
Jason Williard
that. Would anyone
happen to have any suggestions on where to start? Perhaps, someplace
where I could go for further research?
Thank You,
Jason Williard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ontaining more information. I need to
be able to get that information as well. The only distinct part of
those lines following is that they start with 15 spaces.
Example:
D120 Text Text Text Text
More Text
More Text
More Text
Does anyone have any
Is there a function that can get remote server information such as what
server software the remote host is running?
- Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way to make a variable of a function optional?
Thank You,
Jason Williard
heard good and bad
things from people who I feel are not quite informed. I would like to know
your opinion on the matter.
Which is a better option for IIS6? What are the upsides and downsides to
each?
--
Thank You,
Jason Williard
--
PHP General Mailing List (http://www.php.net/)
To u
I am using the following array and function in the template for my website.
It works great, but I want to to be better. I would to make it so the last
item displayed looks differently than the others, but I have been unable to
figure out how to distinguish the last item.
When displayed, the crumb
I have been having an extremely difficult getting PHP installed with
GD support on a FreeBSD 5.1 system. While I can get the default GD
package installed, I can't seem to get it installed with JPEG support.
Does anyone know of any good tutorials or instructions for people
with basic general knowl
I'm building a tool to process incoming mail. So far, I have a script
that receives mail that is piped to it. I am able to process the mail
without a problem. However, the script causes a bounce message
containing the output of the script. Does anyone know how I can fix
this?
The script:
http:
Sendmail. Does anyone have any idea what is causing
this bounce and how I can fix it?
--
Jason Williard <[EMAIL PROTECTED]>
// www.jasondubya.com //
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e variable $url
exists in this array. The array would look like:
$archives = array( "domain.com","domain2.com");
As for the results of the search, I just need a simple yes/no 1/0 response.
What would be the best method of handling this?
Thank You,
Jason Williard
--
I am trying to use preg_match to pull a specific piece of a variable.
However, I don't have enough experience with the syntax to be able to figure
this out.
The variable looks like: "John {mailto:[EMAIL PROTECTED])"
All I need is the name, John. The rest can be discarded. How would I pull
that b
22 matches
Mail list logo