easy
to use and has worked very well for me.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ini_set) and display_errors is one of them.
That said, it is always best to fix stuff like this than just hiding
it. When you just hide errors/warnings/notices things don't always
work reliably.
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t myscript.php.
It looks like you're using PEAR classes, but the pear directory isn't
in the include path. Try adding that path to your include_path by
editing your .htaccess or using ini_set().
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rvices during the
> install? Will the current PHP applications stop working during the
> upgrade?
I've never used IIS, so I may not be helpful here. If you're using
Apache on Windows you'll need to restart Apache is generally a very
fast operation.
Brady
--
PHP General Ma
> Profile dropdown
I would suggest upgrading to the latest NetBeans as well, it's worth it.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
http://www.mydigitallife.info/2007/05/25/how-to-take-ownership-and-grant-permissions-in-windows-vista/
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Is this a PHP or a
APACHE 2 thing?
I saw the same thing on my OS X box, and decided to disable IPV6 for
now. Edit httpd.conf and change: "Listen 80" to "Listen 0.0.0.0:80"
and when you restart Apache it'll always return 127.0.0.1
Brady
--
PHP General Mailing List
's the advantage of nixes... everything is pretty much a file and
> symbolic links for files are well implemented and supported :)
True, I forgot to mention that. Junctions only work with directories,
which is a step in the right direction, but definitely not as good as
real symbolic links.
Brady
he-windows-command-prompt-usable
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sep 12, 2008, at 516AM, Luke wrote:
Could you use a symbolic link? If on Linux 'ln -s /fpath/foldername'?
Not sure how to do this on Windows
Windows 2k and up do support symbolic links, take a look at
http://technet.microsoft.com/en-us/sysinternals/bb896768.aspx
Brady
--
P
On Sep 10, 2008, at 821PM, jmatt wrote:
Hi, I was using NVU to edit PHP but when I upload the index.php file
back
there will always be a slight error in disorientation.
Example using NVU I edited the text just a bit then bam..The webpage
became
really funny
What is the best to edit my PHP f
.
Click the "Start" button on the control panel. As you know, clicking
"Admin" will launch WinMySQLadmin, which is useless if MySQL isn't
running.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sep 8, 2008, at 809AM, Charlene wrote:
The company I work for is going to be creating the catalog to a
small store (~100 items). The customized catalog will include the
front end that the shoppers will use as well as the back end data
entry.
We need shopping cart/checkout software, pr
#x27;t sound like what you are
looking for. If you send a sample line, we can help you better.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ttp://marc.info/?l=php-general
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
d suggest taking another read of the manual page for the mail
function: http://php.net/manual/en/function.mail.php - the email is
sent when you make the call, not created and stored in a variable when
executed.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
uch a link in my
bookmarks.
There are several options for charting, here's a post I came across
earlier in the week with some options: http://free-wiz.blogspot.com/2008/07/best-free-chart-apis.html
.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://w
r the do...while loop can be easily combined into one
line; I left it as separate lines for clarity.
Brady
soon as the file is included. If
you want the email to be sent by the class, it needs to be done
within one of the class methods (functions).
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ous, time consuming tasks with PDFs
quick and easy.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ng efficient with an
alternative isn't nearly as productive as continuing to use the same
tools.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
xactly how each one is configured.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The last comment on http://php.net/manual/en/function.simplexml-load-string.php
is what you need:
simplexml_load_string($xmlstring, 'SimpleXMLElement', LIBXML_NOCDATA);
Brady
On May 9, 2008, at 1250PM, Chris W wrote:
I have an xml file with a cdata element like the one below. H
ly easier to work
with and (with todays hardware), speed isn't always a factor.
Yes, another great point.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n the route you described, but it's way
more flexible, and as Richard pointed out, it's fully normalized.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mar 30, 2008, at 227AM, Alain Roger wrote:
i want to implement on my web portal electronic invoicing system.
basically data will be stored into PostgreSQL DB.
If you're not set on building it yourself, you might take a look at
Bamboo Invoice - http://bambooinvoice.org/.
Brady
-
ce or these are just
two "styles"?
IMO, it's a matter of preference and style. There may be performance
differences between the two, but I doubt that either one is so much
worse than the other that it would have a noticeable impact on your
script in most situations.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mar 18, 2008, at 1008PM, Sudhakar wrote:
1. are the connection statements ex = $conn =
mysql_connect($hostname, $user,
$dbpassword); etc does these remain the same or are they different.
http://php.net/mssql
2. unlike in mysql with phpmyadmin which is browser based to access
databases
ed.
http://www.accesspdf.com/pdftk/
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
. Try replacing your
quotes with regular old quotation marks.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
row($result);
for ($j = 0; $j < mysql_num_fields($result); $j++)
{
echo ''. $row_array[$j] . '';
}
echo '';
}
?>
While it's not necessary, I find it much easier to read
tried placing the form before the Calendar.setup() calls?
Seems like I had to do that when I used that javascript calendar widget.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Feb 18, 2008, at 531PM, Teck wrote:
Is it possible to "return" more than one values in PHP?
Yes, in the form of an array.
return $x;
return $y;
Only one return statement can be used.
http://us.php.net/manual/en/functions.returning-values.php
Brady
--
PHP General Mailing
You can STFW and RTFM. This list should never be your first place
to ask simple questions.
PLEASE start using the PHP manual!
http://php.net/pathinfo
http://php.net/basename
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you have specific questions about parts of the process we
will be able to help you better. Best is if you start writing the code
and ask questions when you get stuck so we can see what's going on and
offer ideas.
Best of luck,
Brady
--
PHP General Mailing List (http://www.php.net/)
To
like about it is that on OS X you have to type
in your password every time you want to start or stop anything. So I
wrote some simple applescripts that I use instead of the included
control panel that handle the authentication for me. If anyone is
interested, just contact me off-list and I'l
the size of the tmp file (the amount of data that was
already uploaded). So in this script i need to know what the tmp-
filename is.
You could try doing a print_r($_GLOBALS); in that script to find out
if there are any other helpful places to check.
HTH,
Brady
--
PHP General Mailing
uestions as
you'll likely get better help there than on this list, simply because
it's focused specifically on fpdf.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hand has
been way too painful not to use a JS calendar widget.
Just my two cents,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
curity.org/
Brady
s an error of some kind, but error
reporting is turned off.
Put the following code in the file that's giving you problems to turn
on errors, then reload the file in your browser to see what you get:
ini_set('display_errors',1);
Brady
--
PHP General Mailing List (http://www
unctionality similar to
> (though, not necessarily the same as) getElementById(), .innerHTML, etc.
Hopefully you're using PHP5:
http://php.net/dom to interact with the DOM
http://php.net/tidy to cleanup the HTML if needed
If you're on PHP4:
http://php.net/domxml
Brady
-
o backup your
database before doing this, just to be safe! :)
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
er.
There are lots of great frameworks out there that use the MVC pattern.
Personally I use and recommend CodeIgniter (http://
www.codeigniter.com) - it's been a great one for me, but there are
plenty of other well written frameworks out there if CodeIgniter isn't
a good fit for yo
If you're using PHP5, you can use the tidy functions -
http://us2.php.net/tidy. The default settings output html tags in
lower-case. For tidy config settings, see
http://tidy.sourceforge.net/docs/quickref.html
Brady
On Dec 19, 2007 1:10 PM, Christoph Boget <[EMAIL PROTECTED]> wrote:
han yours" thread, just a
suggestion.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
David Christopher Zentgraf wrote:
On 27 Nov 2007, at 17:57, Brady Mitchell wrote:
FPDF is a great way to go - I've used it for other projects. Thought
I'd share this method so you'd have more options. :)
Very much appreciated. :o)
I do want to include graphics dynamically as
r projects. Thought I'd
share this method so you'd have more options. :)
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
options of pdftk.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Depends on what you are planning to do with the file. Saving it to PDF is also
possible, take a look at http://fpdf.org and http://htmldoc.org/.
Brady
-Original Message-
Hi!!
I'm in the need of saving to a file a dynamic page that I generated from a PHP
script, taking data f
Use sessions. Store the variables you need in the session, then
redirect. After redirect get the values you need from the session.
http://us3.php.net/manual/en/ref.session.php
Brady
> -Original Message-
> From: Tony Di Croce [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 2
t a preference.
The bottom line is that there are lots of great CMS options, and the
best way to choose one is to know exactly what you want from a CMS and
compare them with that in mind.
Good luck,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
reate the sequence
for you if it does not exist (provided the userid has permission to do
so)."
Does the MySQL user have permission to create tables? Since ADOdb fakes
sequences by creating a table, that could be a problem.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ever
actually used that option though, so I'd take it for a test drive before
counting on it.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t hurt to use something like Xenu Link Sleuth (
http://home.snafu.de/tilman/xenulink.html ) to check the links, but as I
said, I've never had a problem.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
7;re here to help, not do your job
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> -Original Message-
> I need to render/convert the entire site to normal
> html pages so that it can be loaded onto a cd and
> given out.
>
> Does any class program exist that can help me do this?
Save yourself a lot of work and use HTTrack.
http://www.httrack.co
ever
$rs->MoveNext();
}
You may want to take a look at the phpgacl (http://phpgacl.sf.net)
class, it has integrated ADODB so it may be a good example for you to
follow.
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
omains/jtjohnston.ca/public_html/comments.php on
line 29
"Undefined index" means that the index does not exist, ie: the
"submitter" value is not being set when the form is posted.
Check the form that is posting the data and make sure that there is a
value for "submitter"
which is probably not the case.
Apache is often run under the apache, www, or nobody user.
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You're missing the session_start() call at the beginning of your code.
I'm surprised it works at all without that..
http://www.php.net/manual/en/ref.session.php
http://www.php.net/manual/en/function.session-start.php
Brady
> -Original Message-
> From: Webmaste
edirect you can use: header("Location: http://www.example.com/";);
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the things he has
running on his server and spend some time googling for security issues
with those services/programs.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ce again, in your switch statement you are checking for the full name
of the
month, but your query will be returning the month number. Since you
don't have a default case on your switch statement, $return is never
being set, so " $day = $this->determineDay(); " is not setting
$mont
t have a default case on your switch statement, $return is never
being set, so " $month = $this->determineMonth(); " is not setting
$month to anything, which is why you are getting error messages.
http://dev.mysql.com/doc/refman/5.1/en/date-and-time-functions.html
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
wrong is i have the incorrect syntax to delete
> multiple feilds from a table if some one can help me it would
> be greatly appreactiated.
$query = "delete From news where id IN($del)";
Take a look at
http://dev.mysql.com/doc/refman/5.0/en/where-optimizations.html. The
user
e browser, so if you look
at the source of the document you'll see:
var price = 50;
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
p://adodb.sf.net) for connecting to
MS Access from PHP. I used it once for a project where I had to use an
Access DB and it was actually pretty smooth. I now use ADODB for all of
my DB connections. :)
HTH,
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s anything with building flyer using php and html tags?
I've started looking at htmldoc for some upcoming projects. You can
generate a flyer (or any other kind of document you want) using HTML and
convert it to HTML very easily.
Take a look at http://www.easysw.com/htmldoc/examples.php for
it works great as is. I'm using
it to generate nametags and reports in various applications.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you don't have that line break, PHP is not going to create
it for you.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you have a linux box, use mutt or pine. Also, most Windows mail
clients allow you to turn off HTML mail. Check your client
documentation / help files.
Brady
> -Original Message-
> From: Mark Steudel [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 13, 2006 1:40 PM
> Example
> Page1.php
> ===
> $name_pro = "VC++ V2.4"
> print " $name_pro ";
Use urlencode (http://php.net/urlencode):
print " $name_pro
";
Brady
--
PHP General Mailing List (htt
> echo '\n';
> $month_query = mysql_query("SELECT m_id, months FROM Month");
> while ($r = mysql_fetch_array($month_query));
Remove the semi-colon at the end of the above line and it works like a charm.
> {
> $v = $r["m_id"];
> $
l you are doing with the $val variable is using it to
echo, it's not needed. Put brackets { } around the var to echo ie:
{$r["equip]} - makes it easier to read later when you come back to tweak your
code.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ebsite Copier? (http://www.httrack.com/) I've used
it to generate
a copy of websites that were then burned to CDs for presentations. It
works very well
and is available for several platforms.
Sorry that this is not PHP related, but in my mind it's a question of
using the right
tools for t
listening.
As far as file format, it might be worth looking into using the OGG
Vorbis format. There are players on Windows/Mac/Linux that support the
format and it uses compression, so the file sizes should be a bit
smaller than mp3s. Take a look at http://www.vorbis.com/ for more info.
Just s
ing, it should work well for you.
Brady
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Kontroll rad i textfil:$rowsInTextFile av >
$totalRowsInTextFile";
Will display the line break in the webpage as expected, but to get the
source code displayed to have the line break you would need to use:
echo "Kontroll rad i textfil:$rowsInTextFile av >
$totalRowsInTextFil
Has anyone ever seen the likes of this? I get the following lines when I
use a custom compiled CGI app to run my PHP scripts. I followed the
directions at http://www.kellybreed.com/phpinstall.txt and had success on
one site. This different site, same server, generates the error.
Warnin
You could always open it and see if the first few characters are
"{\rtf1".
Brady
> Is there any way to test a file to confirm it is an RTF file?
>
> I'm thinking along the lines of how we can test for an image with
> getimagesize().
>
> kind regards,
>
>
t out...it doesn't look terribly sophisticated but it
might work.
Brady
> Dump to file as comma separated and then load into Excel. Excel reads comma
> separated files. In the file open dialog you can select file type to be .txt
> (csv).
>
> If you want to be really si
ighly recommend reading the manual and the FAQ before posting a question
to the newsgroup, typically you will get flamed if you do not. )
Ed Brady
[EMAIL PROTECTED]
To reply, you know what to remove
- Original Message -
From: "Magnus Hammar" <[EMAIL PROTECTED]>
To: <
y sure what's
goin' on.
Any insight into the problem would be greatly appreciated!
Thanks!
-brady
--
Brady J. Horenstein
[EMAIL PROTECTED]
--
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]
84 matches
Mail list logo