chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

Just before you close this as unsolvable, it seems that what would be needed is some kind of intelligent client that would be able to break up a large file into pieces of an arbitrary size and then upload the pieces and provide appropriate info to the php program on the other end.

I found a Java applet that is supposed to do most of this. It seems that is can break a large file into pieces and upload each piece. What it doesn't seem to do (but should theoretically be possible) is to upload one or more pieces but not the whole thing. They say that you can use it as a <input type=file... replacement. So, in terms of how to deal with large files this would seem to be a step in the right direction. I don't have any experience dealing with Java applets but I'm going to have to give this a try.
http://jumploader.com/index.html

chrishea 182 Nearly a Posting Virtuoso

1.If your id and pw are always meant to be in lower case, then it is easy enough to convert them with strtolower. If you allow a mix then you may need some javascript to check if the Caps Lock key is on.
http://www.wallpaperama.com/forums/how-to-detect-if-caps-lock-from-users-with-javascript-and-php-uppercase-typing-t1422.html

2. In a simple / traditional approach, the user will press the button to enter the form and your code that is used for the "action" on the form will process what they entered and decide if it is valid or not. If not, you display an appropriate message with a button or a link to return to the form. If you are into Ajax, then you could display the error below the form and allow them to try again without the need to refresh the whole form.

chrishea 182 Nearly a Posting Virtuoso

You have an option on Google Checkout to send an invoice from your account without creating any custom code:
http://www.google.com/support/forum/p/checkout-merchants/thread?tid=0593f4cbc81cd488&hl=en

If you need the code because you need to integrate it with something else, then I'm sure that Google has sample code that you can use.

chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

You can create the report as an html report and then write that to a PDF using HTML2PDF. You have to be a little be careful with the html that you create but in the end, I think that it is simpler than having to explicitly create the PDF yourself. For more info. see:
HTML2PDF

chrishea 182 Nearly a Posting Virtuoso

You could easily do it manually with an FTP program but if your objective is to make it automated, then you can read and write a php module using file_get_contents and file_put_contents (or fopen, fread and so forth if you want to use the more complicated approach).

chrishea 182 Nearly a Posting Virtuoso

I don't understand your problem. Usually the link on the affiliate site carries a whole bunch of information as parameters. You can include whatever you need in it (including the referral source - the Affiliate name or number). If you know the url for your Affiliates' sites, you could also use $_SERVER to determine / verify where the transaction came from.

In most cases, Affiliate links aren't tied to an immediate payment. They just bring in traffic to your site and then the person decides if they want to buy or not. It is up to you how you want to handle payment on your site.

If your issue is that you are looking for a program to track Affiliate transactions and then pay them based on sales (which isn't exactly what you said) then you might need a bit of custom back-end code where you log a sale yourself, once you have done your up-front work. If the packages you are looking at force you to configure a payment gateway, you might have to do that and then do some custom work to hide the payment gateway and log the Affiliate info some other way; or, do what I have seen for some giveaways where they require the customer to complete a sale for $0.

chrishea 182 Nearly a Posting Virtuoso

You don't show where $link is set but I presume that is in dbc.php as well. Either your mysql_connect didn't work properly or you aren't passing the $link value successfully. If you are doing an error check for the mysql_connect and everything appears to be ok, you should be able to drop the $link parm on lines 92 and 93 and it should work.

chrishea 182 Nearly a Posting Virtuoso

If this is a local device, then I think that you are trying to use PHP for something that it wasn't really intended for but you may still be able to make it work. You receive data approximately every 10 seconds but you want your task to fire exactly every 10 seconds. It seems that what you'd really want is to start the task whenever the input is received so you don't have to worry about synchronization of the timing between the input and your program. If that isn't possible, then you may want to fire your task more often then 10 seconds (e.g. every second) so you can catch it whenever it arrives. Cron really isn't made to do this and I believe that the minimum interval is one minute. The link below addresses this and talks about some another lower-level approach. If you aren't on a dedicated server, you should forget about any requirements for exact timings.

http://www.linuxquestions.org/questions/programming-9/seting-cron-to-run-a-script-every-second-425623/

chrishea 182 Nearly a Posting Virtuoso

You don't feel a need to connect to a database (mysql_connect) before you start issuing queries?

chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

This site provides a (Vista) procedure to get rid of the Welcome Center which is what this DLL is used for. They also promote some registry tools and I'd be cautious about using those.

http://www.dll-error-fixes.com/remove-oobefldrdll-disable-windows-vista-center/

chrishea 182 Nearly a Posting Virtuoso

Have a look here

chrishea 182 Nearly a Posting Virtuoso

If you are trying to run this on your own (local) machine, then you need to create a LAMP (Linux Apache MySQL PHP) environment. There are free packages like EasyPHP and WAMP that you can download to do this. You need to have a simulated Linux server environment (or a Windows server if that is your preference). PHP is a server-based language. PHP isn't actually executed by your Browser (unlike HTML or javascript).

chrishea 182 Nearly a Posting Virtuoso

Is this footer.php?

chrishea 182 Nearly a Posting Virtuoso

Trapping incoming email is the more difficult part. The first article below will give some info on it but if you are using a web hosting service with a shared server, it may depend on what they support. I could not access the incoming mail on my server by forwarding it to a PHP module (I would have had to read it as POP3 or IMAP. The second link provides some code to read the mailbox using POP3.

http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/index.html

http://www.weberdev.com/get_example-4015.html

Another approach would be to insert a form or a link into outgoing mail that the recipient would use for replies. This would be their option (they could respond directly) unless you take away that ability by sending from your own address and including originating user id info in the link/form. The messages would always be generated on your site so you would have control of it.

chrishea 182 Nearly a Posting Virtuoso

You should post the code, especially for the addaction module. You don't say what you are doing that shows that they haven't been saved.

chrishea 182 Nearly a Posting Virtuoso

Have you tried re-installing the software? Unless there is something in the install that is different on each install, you should still be able to open the files if you have the password.

chrishea 182 Nearly a Posting Virtuoso

Your (CODE) statements are showing in the post so something wasn't done correctly in posting this. It shows 2 code statements at the beginning and a (/code) at the end. Bottom line is that it isn't being taken as code and the option to view plain text isn't there. That limits our ability to help you.

chrishea 182 Nearly a Posting Virtuoso

The column alignment is being done in the browser based on the generated html and doesn't have anything directly to do with the PHP on the server. The PHP would only matter if it was generating different html for one page versus another. It is more likely that the browser is attempting to align columns based on the content of the body of the page. You need to work on your html to figure out how to make the column sizes fixed.

chrishea 182 Nearly a Posting Virtuoso

If you don't have a copy of the PHP manual, you need to download a copy and use it. It states very clearly:
'w' Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it.

You then see option 'a':
'a' Open for writing only; place the file pointer at the end of the file. If the file does not exist, attempt to create it.

chrishea 182 Nearly a Posting Virtuoso
chrishea 182 Nearly a Posting Virtuoso

Have a look at this program. You can convert to another format such as html and then display the result.

http://www.weberdev.com/get_example-3211.html

chrishea 182 Nearly a Posting Virtuoso

If it won't Post it normally means some kind of hardware problem. You won't get beep codes. In this situation, it usually sits there for a while with the power on and then it restarts itself (and does this over and over until you kill it).

When you tried the bare-bones approach what memory sticks did you use? If they were the same as you used previously, then you need to check those out as well. If you swapped some others in then you need to be sure those are good. I presume that when you tried a different MOBO, it was known to be good and that it had it's own video card that was also known to work. If these aren't the problem then it could be your CPU. There is also a possibility that the CMOS battery might be a factor.

chrishea 182 Nearly a Posting Virtuoso

Have a look at this for starters:

http://www.daniweb.com/forums/thread142082.html

chrishea 182 Nearly a Posting Virtuoso

If you have a PHP manual and you look up chmod, then there it is. As mentioned however; setting it to 777 may not be the greatest idea.

chrishea 182 Nearly a Posting Virtuoso

I don't think there is any other answer other than your code has to be smart enough to check for (valid) content in the form fields before you try to use them in your program. If you have a field that might have a number or might be blank and you try to use that field as an index into an array, then I would guess that you would get a message like the one you have shown. If you go through a validation routine first, insert default values if necessary and/or check in the code that follows that you have appropriate content in the field then you shouldn't have a problem.

chrishea 182 Nearly a Posting Virtuoso

The Word Convert Class does a good job of converting to the different formats that Word can produce (including txt and htm).

http://www.weberdev.com/get_example-3211.html

chrishea 182 Nearly a Posting Virtuoso

You could / should generate the search based on specific fields that are entered in your input form (rather than a generalized search term). Something like:

$sql = "select from contracts where ";

if ($first_name <> "") {
  $sql .= "FirstName like '$first_name' ";
  $and_sw = 1;
}

if ($last_name <> "") {
  if ($and_sw == 1) {
    $sql .= " and ";
  }
  $sql .= "LastName like '$last_name' ";
  $and_sw = 1;
}

... etc ...

This will give you a more efficient search that will handle as many fields as you want to define, as long as you explicitly define them in your input form. If you still want to be able to search every column of the db for the search value and do this for multiple search terms you could probably do something similar with an AND for your second search term against all of the columns but that could be a pretty inefficient search.

chrishea 182 Nearly a Posting Virtuoso

I had a similar problem and I took it to a tech who changed the female power jack in the machine and it worked for a bit and then wouldn't start at all. I then bought a new power adaptor and then it was fine. In hindsight, it may not have needed the jack in the machine to be changed at all. I suggest that you start with a new power adaptor and see if that does it. If you have a local tech and he has another compatible power adaptor, you could take it in a see if another adaptor makes a difference. If you have to buy one, they aren't that expensive (if you buy an OEM one on ebay). If that doesn't do it (and if the machine is worth it) you could then consider getting the jack in the machine changed.

chrishea 182 Nearly a Posting Virtuoso

On my system, the most recent replies are below the top of the reply box (so you can't see them).

chrishea 182 Nearly a Posting Virtuoso

It would seem that your video card is probably fried. If you cleaned it up and the fan is turning but still nothing, then you need to try another one. If it's booting without that card in, chances are good that the rest of the hardware is ok. Get another video card and see what happens.

chrishea 182 Nearly a Posting Virtuoso

Generally this means that you have some sort of hardware problem that keeps the PC from booting properly. If you look in the Hardware section (troubleshooting dead machines), you'll find lots of postings for similar problems and things to try. It can be bad connections or dust but it may also be a failed part.

chrishea 182 Nearly a Posting Virtuoso

I'll start with the obvious question: Is there a Wireless Lan switch and is it turned on? If there is no switch or if it is on and all the drivers are showing as ok, then you may have a hardware issue with the wireless lan. If you aren't getting anywhere you could buy a usb wireless lan adaptor (they are pretty cheap) and see if that works.

chrishea 182 Nearly a Posting Virtuoso

Check and see if there is a brightness mode control in your BIOS. If there is one and you set it to User Control, that may make the Windows control work properly.

chrishea 182 Nearly a Posting Virtuoso

This isn't really a PHP question. I suggest that you try the Magneto forum:
http://www.magentocommerce.com/boards

chrishea 182 Nearly a Posting Virtuoso

My understanding is that sessions handle serialization for you. Are you sure that you need it? Maybe you are interfering with the Session internal serialization process.

chrishea 182 Nearly a Posting Virtuoso

Malwarebytes is one of the best of its kind. Can't comment on CCleaner.

chrishea 182 Nearly a Posting Virtuoso

It may be having a problem booting from your hard drive. If I was in your situation, I would put in the Windows install disk and get it to boot from that and then run the repair option to see if there is a problem with your boot disk that it can fix.

chrishea 182 Nearly a Posting Virtuoso

When the machine keeps re-booting, it can be a sign that you have a hardware issue that prevents it from getting past the POST (Power on Start) process. In this case, there could be a hardware problem with the wireless board (or that part of the motherboard if built-in). If it tries to boot and then fails after 10 or 15 seconds with nothing showing on the screen, then that is probably what is happening. If it is getting further into the start-up process, displaying the vendor's startup screen or even getting into windows before failing, then you may have a driver issue or some other sort of software problem. If it is the first situation, then you might want to buy a usb wireless adapter and try that. They are pretty cheap and it might get you running.

chrishea 182 Nearly a Posting Virtuoso

Try teamviewer. There is a free version and it is pretty easy to use.

chrishea 182 Nearly a Posting Virtuoso

I'm not clear as to why you have a customized reset rather than a simple html reset but I don't think that is the problem. I'm guessing that reset is clearing the values in the boxes but the fact that you have it defined to load values into those variables (the previous values entered) is probably still happening after the form is reset. I think you will probably have to change the code to clear those previous values and only return them if the user chooses to update them. If the form is accepted then I think that you must clear the previous values before displaying the form again.

chrishea 182 Nearly a Posting Virtuoso

If you are trying to display the button again on a second page (e.g. as a confirmation) and you want it to be turned on if it was selected on the first page then you need to use the 'checked' parameter to turn it on:

if ($_POST['radio'] == "projectassign") {
   $button = "checked";
}
else {
   $button = "";
}

echo '<td><input name="radio" $button type="radio"  value="projectassign"></td>';
chrishea 182 Nearly a Posting Virtuoso

The simplest way is to use an existing service like Wordpress or Blogger.com. You can optionally download one of these applications and put it on your own site. If you are implying that you want to build your own blogging system from scratch, then based on the question that you're asking, I'm guessing that you aren't ready to do that (if you really want to use it for blogging versus doing it as a learning exercise).

With respect to posting on multiple sites have a look at this.

chrishea 182 Nearly a Posting Virtuoso

It depends on the relationship between the two. If the front-end (for example) has forms that call processing modules, then one or more of your PHP programs will become the "action" on the form statement(s) in the front end. There probably has to be some action by the user in the front end that will trigger your programs. That is probably going to be a form or a link in a menu. If it is more complicated than that, then you might be into wrapping their html & css in some php so you can "include" some of your modules.

chrishea 182 Nearly a Posting Virtuoso

how about session_unset?

chrishea 182 Nearly a Posting Virtuoso

If it's worth a few bucks, these guys provide a guarantee:
http://www.decryptum.com/about.html

This one is free:
http://www.makeuseof.com/dir/xlscrack-unlock-excel-spreadsheet-without-password/

You may have tried these already but your note doesn't specify which ones you tried.

chrishea 182 Nearly a Posting Virtuoso

I saw your note and I ended up spending quite a bit of time playing with it. I wasn't making too much progress so I ended up using the free online openid service at: RPX
I did get that working and I recommend it.

You may have reasons why you need to roll your own but if you don't I suggest that you try the service version. When I was trying to get php-openid working I did see some postings that were reporting how people were having problems with Yahoo and Google Apparently, they handle it a bit different than the rest. There were some suggested changes to get around it. There were also suggestions that it needs to be re-written for PHP 5. If you do a bit of searching on google, I'm sure that you'll find it.

chrishea 182 Nearly a Posting Virtuoso

You might want to try posting this in the Networking section.