Search Results

Showing results 1 to 40 of 199
Search took 0.04 seconds.
Search: Posts Made By: veledrom ; Forum: PHP and child forums
Forum: PHP 7 Days Ago
Replies: 1
Views: 176
Posted By veledrom
Just got a message from different forum and solved. I didn't know it could be this simple.

Put @ before 'mysql_connect'
@mysql_connect
Forum: PHP 7 Days Ago
Replies: 1
Views: 176
Posted By veledrom
Hi,

How do i prevent printing "Warning" bit of connection error? I only want see my error message on screen.

Note: I deliberetly enter wrong Host IP to see the message thou.


Warning:...
Forum: PHP 8 Days Ago
Replies: 2
Views: 199
Posted By veledrom
Sorry for not adding my code but your code helped me update my code and solved the problem.
Thanks very much
Forum: PHP 8 Days Ago
Replies: 2
Views: 199
Posted By veledrom
Hi,

I have two classes.
I user throw new Exception("Error"); in first class.
I want to catch that error message in second class with "try catch".

How do i do it?

Thanks
Forum: PHP 9 Days Ago
Replies: 3
Views: 238
Posted By veledrom
I read about both and netbeans is preffered in most but takes up a lot of memory thou!
Forum: PHP 9 Days Ago
Replies: 3
Views: 238
Posted By veledrom
Hi,

I need a php editor where i can see what variables, class names, function names are already in use and if it is possible (not necessary) debugger.

WinXP: ?
Ubuntu: ?

What editor do you...
Forum: PHP 12 Days Ago
Replies: 5
Solved: die() or exit()
Views: 277
Posted By veledrom
exit("Database connection error"); is nice one!
Thanks guys
Forum: PHP 13 Days Ago
Replies: 5
Solved: die() or exit()
Views: 277
Posted By veledrom
Hi,

I just want to find out which is better?

Thanks


......
echo "Database connection error";
exit;
Forum: PHP 15 Days Ago
Replies: 2
Views: 134
Posted By veledrom
Hi,

I want to learn ZEND Framework. I have checked the courses and they are very expensize. My question is, if I buy a book for ZEND, do you think i could learn it. I know PHP5 and OOP.

I am...
Forum: PHP 22 Days Ago
Replies: 2
Views: 190
Posted By veledrom
Hi,

Is there any chance of resizing gif, tif, bmp, jpg, png
I know that we can jpg files.

Thanks
Forum: PHP 26 Days Ago
Replies: 10
Views: 594
Posted By veledrom
I never stored an image in my database before but wanted to know how it is done. Thus, i did this example. I normaly store images in folders and then store paths to them in database.

Anyway, I...
Forum: PHP 26 Days Ago
Replies: 10
Views: 594
Posted By veledrom
Guys do you mean, storing an image in database is bad design?
Forum: PHP 27 Days Ago
Replies: 10
Views: 594
Posted By veledrom
Hi,

I want to show the image as well as printing the id, name, time etc with it. How can I do it?

First code prints all the data as it is without showing image.
Second code shows image...
Forum: PHP 29 Days Ago
Replies: 1
Views: 236
Posted By veledrom
Hi,

I read a bit about both but I need to see your opinions about this.

Are cURL and xmlrpc used for same purposes, are they same thing?

Thanks
Forum: PHP 34 Days Ago
Replies: 2
Views: 364
Posted By veledrom
Thanks for usefull info.

I remember I had strange header, header, header errors in Ubuntu when I run a project. Same project didn't give any errors in WinXP on Wamp.

Seems to it is all about...
Forum: PHP Nov 18th, 2009
Replies: 2
Views: 364
Posted By veledrom
Hi,

I read this ob_start() but want a bit cleaner explanation.
why we use it, should we use it, what happens if we don't?

I have never used it and won't use it until I understand it is best...
Forum: PHP Nov 17th, 2009
Replies: 4
Views: 271
Posted By veledrom
Hi,


Code below returns this.


Array
(
[0] => 3
[id] => 3
Forum: PHP Nov 6th, 2009
Replies: 0
Views: 233
Posted By veledrom
Hi,

nusoap doesn't support php 5.3 therefore, It is not usable for me.
Is there any SOAP+PHP example for me to be run on my localhost rather than pointing/accessing wsdl files of other websites?...
Forum: PHP Nov 6th, 2009
Replies: 20
Views: 504
Posted By veledrom
Ok guys thanks for your very helpful information. Now i go and read about AJAX.
Thanks
Forum: PHP Nov 6th, 2009
Replies: 20
Views: 504
Posted By veledrom
Hi,

index.php posts data to process.php

I want users to remain in index.php when they summit their form. I have seen this in some websites but don't know hot it done.
Can anyone help me?
...
Forum: PHP Oct 31st, 2009
Replies: 4
Views: 242
Posted By veledrom
I mean I'll develop a software with VB6 or VB.NET to post data from windows form to PHP website where data will be capture into MySQL database.

I know we can do this with cURL sending data from...
Forum: PHP Oct 31st, 2009
Replies: 4
Views: 242
Posted By veledrom
Hi,

X user uses his/her windows/Linux based software to publish content (job, item to sale or rent etc) in my PHP website. Something like posting data from a computer based software to website OR...
Forum: PHP Oct 14th, 2009
Replies: 7
Views: 408
Posted By veledrom
Thanks to ShawnCplus. Solved.


<script type="text/javascript">
function submitForm(val) {
document.getElementById('submittedName').form.submit();
}
</script>

<form action="process.php"...
Forum: PHP Oct 12th, 2009
Replies: 7
Views: 408
Posted By veledrom
Hi,

We can code this way to print something if Exit button is clicked.

<form action="process.php" method="POST">
<input type="hidden" name="hiddenName" value="Jolly" />
<input type="submit"...
Forum: PHP Sep 26th, 2009
Replies: 3
Views: 387
Posted By veledrom
Solved.
inc.header.php

<?php
session_start();
?>


index.php
Forum: PHP Sep 25th, 2009
Replies: 3
Views: 387
Posted By veledrom
This is content of in.header.php

if(!isset($session_id) || empty($session_id)) {
session_start();
$_SESSION["Inputs"]=array();
}


This is index.php which also has form objects that POSTs...
Forum: PHP Sep 18th, 2009
Replies: 16
Views: 786
Posted By veledrom
OK. Now i can see them all as ubuntu with this one.
ubuntu@ubuntu:~$ sudo chmod 777 /var/www/toy

Before i mark this as solved i just want to make sure that this command doesn't expose security...
Forum: PHP Sep 17th, 2009
Replies: 16
Views: 786
Posted By veledrom
Hi digital,

sudo chown www-data /var/www/toy/ solved the problem. I can backup with php. However, i also want to be able to see the backup files stored in that folder. Now i cannot see because...
Forum: PHP Sep 17th, 2009
Replies: 16
Views: 786
Posted By veledrom
Hi digital,

I have done the tests. I give you the result i got. It may be useful info for you to direct me what to do.

Thanks


<?php
$result = file_put_contents('/var/www/toy/test.txt',...
Forum: PHP Sep 16th, 2009
Replies: 16
Views: 786
Posted By veledrom
I have this info in 'User Settings'

Name-------Login name--------Home directory
veledrom ubuntu /home/ubuntu (this is active-bold and black coloured)
root ...
Forum: PHP Sep 15th, 2009
Replies: 16
Views: 786
Posted By veledrom
Hi digital,

I don't know how to check if PHP has R+W privilages !!!
No password for MySQL. I didn't set it.

Thanks
Forum: PHP Sep 11th, 2009
Replies: 16
Views: 786
Posted By veledrom
Still doesn't work. Also no error for echo exec($createBackup);.

I changed the path to /usr/bin/mysqldump -u root -h localhost toy > /var/www/toy/toy-11-09-2009_10:03:41.sql but, still doesn't...
Forum: PHP Sep 10th, 2009
Replies: 16
Views: 786
Posted By veledrom
Hi,

I am trying to backup one of my Mysql database with a PHP script.

<?php
$host="localhost";
$database="toy";
$username="root";
$password="";
Forum: PHP Sep 10th, 2009
Replies: 1
Views: 396
Posted By veledrom
Hi,

What is the difference between installing Wampserver and Tomcat Apache?

Wampserver installs : PHP, MySQL, Apache Server
Tomcat Apache: Does it only installs Apache Server? If yes i...
Forum: PHP Sep 3rd, 2009
Replies: 6
Views: 424
Posted By veledrom
No it doesn't work. I realised that this problem starts as soon as after first HTML code. In this case error line is <?php
after <body> tag.
Forum: PHP Sep 2nd, 2009
Replies: 6
Views: 424
Posted By veledrom
Yes echo "no"; is the right one.

You can't echo anything to the browser until after headers are sent.

What shall i do in this case then?
Forum: PHP Sep 2nd, 2009
Replies: 6
Views: 424
Posted By veledrom
Hi,

I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at...
Forum: PHP Aug 29th, 2009
Replies: 6
Views: 486
Posted By veledrom
Hi,

I have never use CMS before and want to learn. For a beginner, do you think Joomla would be easy for me to learn or Drupal?

Thanks
Forum: PHP Aug 27th, 2009
Replies: 5
Views: 261
Posted By veledrom
No guys don't work.
Forum: PHP Aug 27th, 2009
Replies: 5
Views: 261
Posted By veledrom
Sorry Pritaeas, they didn't work. It doesn't generate any errors though.

I use Wampserver 2.0 with Apache 2.2.1 and PHP 5.3.0

Any other ideas?
Showing results 1 to 40 of 199

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC