Forum: VB.NET Mar 29th, 2008 |
| Replies: 0 Views: 318 Cannot find database after printing to file I got a strange database connection after I deployed the software. I print crystal reports with
CrystalReportViewer1.PrintReport()
It asks which printer I want to use, if I print by default... |
Forum: PHP Mar 21st, 2008 |
| Replies: 6 Views: 783 Re: File Permissions and Register_globle I'm not %100 sure if that would help but try to set global_register Off in php.ini then try your script to be sure it doesn't give any error and then set register_global on with .htaccess file as... |
Forum: PHP Mar 21st, 2008 |
| Replies: 6 Views: 783 Re: File Permissions and Register_globle If register_global was already set to On in php.ini file, I would suggest you to leave it like that, it should be fine. If setting it to 1 gives you the error, try On again and if it still gives you... |
Forum: PHP Mar 21st, 2008 |
| Replies: 2 Views: 581 |
Forum: PHP Mar 21st, 2008 |
| Replies: 6 Views: 783 Re: File Permissions and Register_globle Fore register global:
If you have access to php.ini file, you can change
register_globals = 0
to
register_globals = 1
or in a .htaccess file put
php_flag register_globals 1
Instead of numbers you... |
Forum: PHP Mar 18th, 2008 |
| Replies: 1 Views: 240 |
Forum: PHP Mar 18th, 2008 |
| Replies: 2 Views: 1,087 |
Forum: PHP Mar 18th, 2008 |
| Replies: 3 Views: 702 Re: form passing value problem in loop this example,i think, would complete my answer above
foreach ( $_POST as $varname => $postitem ) {
echo '<input type="hidden" name="page1_'
.$varname.'" value="'.$postitem.'">';
} |
Forum: PHP Mar 18th, 2008 |
| Replies: 3 Views: 702 Re: form passing value problem in loop Try the following code;
$title= $_POST['Title'];
$desc= $_POST['Desc'];
mysql_query("insert into post(title, description)values ('$title[$counter]', '$desc[$counter]')")or die (mysql_error());
if... |
Forum: PHP Mar 18th, 2008 |
| Replies: 6 Views: 641 Re: What is this php feature called? I'm very sleepy and tired right now, so if i say something silly in the following lines please excuse me in advance...
I read the question and answers and i think you guys are missing the actual... |
Forum: PHP Mar 18th, 2008 |
| Replies: 6 Views: 1,350 Re: Weird charset problem I'm sorry it took me a while to answer. Since the last answer I didn't have any time to test the script, just today I found 5 mins and tested it, it works fine now, all Turkish characters are... |
Forum: PHP Mar 15th, 2008 |
| Replies: 6 Views: 1,350 Re: Weird charset problem now the problem came to a different point... I changed the charsets for both php file and mysql table from ISO,latin5 to UTF8,UTF8_turkish_ci and then generate xsl file, not an actual excel file... |
Forum: PHP Mar 14th, 2008 |
| Replies: 6 Views: 1,350 Re: Weird charset problem thank you for your answer. There are around 10 characters different than iso standard so I could try to mask but if i would just now how :)
if you could give an example, i would love to try.
cheers |
Forum: PHP Mar 14th, 2008 |
| Replies: 6 Views: 1,350 Weird charset problem Hi,
I try to take data from mysql and insert into xls. I achieve that but I cannot sort out the char problem. Turkish characters are displayed in a weird shape in the file but everything seems fine... |
Forum: VB.NET Mar 10th, 2008 |
| Replies: 0 Views: 609 PrintToPrinter prints wrong number of copies I use
report.PrintToPrinter(2, False, 0, 0)
to print 2 copies of the report, but it comes out 3 copies...i changed the PrintToPrinter copy parameter to 1 but i still get 3 copies!!!
any idea?! |