Hi, I am trying to select a file from a form and then pass this filename to another function for processing. The the filename seems to end up as something like ... /tmp/php123XYZ
snippets of code :
(from the form)
echo " <form method=\"post\" ENCTYPE=\"multipart/form-data\" action=\"" ...
I am extracting data from an MSSQL database and output to a pipe (|) delimited text file. However, I am getting "^M"
characters in my output file. I believe that this is because there must be carriage returns in on of the database fields.
How can I remove them? I have tried the strtr()...
If I try to run a query while looping through a result set from another query e.g. :
$act = " SELECT account_number acct ";
$act .= " FROM acct_master ";
$Xresult = odbc_exec($conn,$accts);
while(odbc_fetch_row($Xresult))
{
$x_acct = odbc_result($Xresult,"acct");
$tran = " SELECT...
I've run out of ideas on this one.
I have excel files that were originally generated by a Crystal Info Server. Most workstations on the network (150) can open the files without problems. My workstation (Windows XP Professional, Office 2000) and at least 1 other (Windows 2000, Office 2000)...
I've tried reading an MS Word document fread(), replacing text e.g. <<Placeholder>> with a str_replace() and writing it back. A bit like a poor man's mailmerge. But the document isn't readable after the operation. I've tried the same thing with a text editor and replacing just 1 character has...
I have 2 machines running RedHat 8. One of them was upgraded from RH7.2 and has an HP LaserJet attached. This machine acts as a print server to a couple of Windows2000 workstations using Samba. This still works fine.
The second RH8 machine will not print. I set the printer up using the KDE...
I've been running a RH7.2 server for some time specifically as a web server with PHP as a PHP development/test platform.
I want to use some session control features of PHP but find that they are only supported after PHP 4.2. My server is running 4.0.6. The more I looked into upgrading the PHP...
I have a machine set up to boot either Red Hat or Windows. I installed the GRUB boot loader.
I now want to want to try setting up VMware so that I can have Red Hat running in a "Virtual Machine" similtaneously with Windows.
Therefore, I would like to uninstall GRUB. How do I do this?
Is there any software out there yet that allows a linux client PC to open or import a Microsoft Project file, manipulate/edit it, and save or export it to Windows?
Ideally a product like OpenOffice that can open and save MS Office documents is what I'm looking for.
A very old PlanPerfect spreadsheet file has ended up on my desk with a request to import it into Excel. I am using Office 2000. There doesn't appear to be a standard import or filter function available.
Any suggestions welcome
Although my selection criteria may return several identical records, I only want to display the first record in "details" and then move on to the next group.
How do I do this ??
I have a PII 350, 196Mb Mem running Red Hat 7.2 with an HP LaserJet 6 connected to the Parallel port, and using standard LPD.
It runs horribly slow. Even the ASCII text test page takes around 30 seconds. The data light on the printer starts flashing soon after I send the print job but it takes...
Now that we are in limbo between the end of the availability of beta downloads and the release of the production version, can anybody point me to somewhere that I might download a copy of version 6
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.