Search Results

Showing results 1 to 40 of 66
Search took 0.01 seconds.
Search: Posts Made By: silviuks
Forum: PHP Aug 21st, 2008
Replies: 1
Views: 819
Posted By silviuks
Hello,

Do you have any idea how can i "read" the homepage of a website and then to create an image and display it.

Best regards,
Silviu
Forum: PHP Jul 2nd, 2008
Replies: 3
Views: 680
Posted By silviuks
you also can find a lot of samples on www.php.net.
Forum: PHP Jul 2nd, 2008
Replies: 5
Views: 556
Posted By silviuks
the easiest way to see what or where you have errors is to use as much as you can mysql_error() command.
if you want to see if your select command is wrong, you can use something like this:
...
Forum: PHP Jul 2nd, 2008
Replies: 19
Views: 6,524
Posted By silviuks
Hello,
the update command looks like this:
UPDATE tbl_name SET col1='value1', col2='value2', col3='value3'
WHERE some conditions comes here
Forum: PHP Jun 10th, 2008
Replies: 3
Views: 549
Posted By silviuks
You can use a switch statament, but you must also use "default" case
Forum: PHP Jun 4th, 2008
Replies: 4
Views: 1,549
Posted By silviuks
why do you want to send first and last name over URL? instead, you can send userId (something like:
<a href="./somepage.php?uId=<?php echo $userId ?>"><?php echo $userName ?></a>).
And on...
Forum: PHP Jun 4th, 2008
Replies: 4
Views: 677
Posted By silviuks
For your second question:
you do not pass $form_Id to the query
Forum: PHP Jun 4th, 2008
Replies: 2
Views: 607
Posted By silviuks
Hello,

Maybe i didn't understand very good your problem, but i think that the first think you should do is to force users to input text following a pattern defined by you (or at least to explain...
Forum: PHP Jun 4th, 2008
Replies: 14
Views: 1,608
Posted By silviuks
Hello,
I have tried your code and works fine....
Best,
Forum: PHP Apr 15th, 2008
Replies: 2
Views: 492
Posted By silviuks
you can try something like this:
SELECT Column1 & ' ' & Column2 AS Name FROM ....
Forum: PHP Apr 15th, 2008
Replies: 5
Views: 632
Posted By silviuks
you can use a free WYSIWYG editor. try tinymce ...
Forum: PHP Apr 15th, 2008
Replies: 2
Views: 559
Posted By silviuks
if you don't have the site already developed, try using Joomla or Drupal.
Forum: PHP Apr 15th, 2008
Replies: 3
Views: 744
Posted By silviuks
try searching on google for apache mod_rewrite
Forum: PHP Apr 15th, 2008
Replies: 4
Views: 1,078
Posted By silviuks
If you want to do that this way, you have to pass the value to the other page. use $_SESSION or $_GET ...
Forum: PHP Apr 4th, 2008
Replies: 4
Views: 28,842
Posted By silviuks
maybe because your server is on the black list ...
Forum: PHP Mar 21st, 2008
Replies: 2
Views: 579
Posted By silviuks
do you really think that somebody will read the whole code posted?
Forum: PHP Mar 19th, 2008
Replies: 5
Views: 1,355
Posted By silviuks
did you connect to your mysql server and select your database?
Forum: PHP Mar 18th, 2008
Replies: 1
Views: 408
Posted By silviuks
If you're talking about Personal Web Server, try chancing the port for apache.
Forum: PHP Mar 12th, 2008
Replies: 3
Views: 450
Posted By silviuks
can you paste mooore lines of code?
Forum: PHP Mar 12th, 2008
Replies: 1
Views: 522
Posted By silviuks
Let me guess, you always get the value = "none". if so, you should change the value property to whatever you want to pass to the next page. also check you view() function to see if it works correctly...
Forum: PHP Mar 12th, 2008
Replies: 6
Views: 569
Posted By silviuks
Why do you want to do this?


anyway, if you really, really want to do this, you can do it on insert. when you want to save a new record, first you get the last ID, and when insert the new record,...
Forum: PHP Mar 12th, 2008
Replies: 7
Views: 5,635
Posted By silviuks
First of all, session_destroy() deletes everything you have stored on your session. if you only want to logout some user, simply use unset($_SESSION['user']) and after that redirect to the login page...
Forum: PHP Mar 12th, 2008
Replies: 4
Views: 665
Posted By silviuks
Because he might be afraid of the floating point ?! :D

as for field type ... float, double, decimal (not integer).
Forum: PHP Mar 12th, 2008
Replies: 9
Views: 1,129
Posted By silviuks
when you build the link for your product detail page, use $row['prod_id'] (or how your id column is named in your DB) instead of $row['prod_name'].

after that, in your product page do:...
Forum: PHP Mar 12th, 2008
Replies: 6
Views: 557
Posted By silviuks
You get that warning because, as the message said, you use an undefined variable.

to be sure you don't get that warning, first try to initialize your variables and after that use them:
$a =...
Forum: PHP Mar 12th, 2008
Replies: 3
Views: 627
Posted By silviuks
$data = explode("/",$HTTP_SERVER_VARS['PATH_INFO']);
$id = $data[1];
$idimage= $data[2];

i think you don't have to do this. you simply get your values using $_GET["..."]
Forum: PHP Mar 12th, 2008
Replies: 2
Views: 1,296
Posted By silviuks
Hi,

For displaying your url (as a link) in the message body:
$body_message .="\n This is a message from <a href='http://www.your_domain.com'> http://www.your_domain.com</a>";
and do the rest...
Forum: ASP.NET Mar 6th, 2008
Replies: 5
Views: 1,498
Posted By silviuks
yup. something like that. but you also have to set the ControlToValidate property.
Now ... i have no idea if you can do reqFieldValid.ControlToValidate = tb or first you have to use FindControl ......
Forum: ASP.NET Mar 6th, 2008
Replies: 7
Views: 995
Posted By silviuks
if you have your code inline, with "view source" you show every "logic" you have there. if you put your js file into a folder you can secure it and this way your "logic" will be secure.
Forum: ASP.NET Mar 6th, 2008
Replies: 5
Views: 1,498
Posted By silviuks
did you tried to add (at runtime) RequireFieldValidator for any textbox previously created?
Forum: ASP.NET Mar 6th, 2008
Replies: 10
Views: 1,240
Posted By silviuks
i think that after 15 hours of reading (assuming that you are also new to web programming) its a very short time.

to start ASP.NET developing you need VS.NET (as hollystyles said).
after that...
Forum: PHP Mar 6th, 2008
Replies: 3
Views: 599
Posted By silviuks
use $result = mysql_query($sql) or die (mysql_error());

if you have an error in your query it won't be executed and this is why you get that message.
Forum: PHP Mar 5th, 2008
Replies: 10
Views: 1,071
Posted By silviuks
To do a simple form validation its useful to use javascript:

<form action="contact.php?act=contact" method="POST" id="contactForm" name="contactForm">
<input type="text" name="txtNume">
.
.
<a...
Forum: PHP Mar 5th, 2008
Replies: 2
Views: 592
Posted By silviuks
It is very simple. on your submit (and insert into DB) event add few more lines to send e-mail to a specific address. for this, use mail() (http://www.php.net/manual/en/function.mail.php) function.
Forum: PHP Mar 5th, 2008
Replies: 11
Views: 1,338
Posted By silviuks
you cannot use something like class='....' or style='...' to customize the file control .... it can be done but you have to dig a lot ....
Forum: PHP Mar 5th, 2008
Replies: 11
Views: 1,338
Posted By silviuks
I don't know if you read (or understand) my previous post....
in the database you should keep only the file name. let say your file is image1.jpg and it is stored in {root}/images/uploaded_images/...
Forum: PHP Mar 5th, 2008
Replies: 12
Views: 1,488
Posted By silviuks
try:
SELECT post_resume.res_title, post_resume.candidate_type, post_resume.owner, post_resume.ind_type, post_resume.career, post_resume.resume, employer.association
FROM post_resume, employer...
Forum: PHP Mar 5th, 2008
Replies: 12
Views: 1,488
Posted By silviuks
Use "GROUP BY" clause.
Forum: PHP Mar 4th, 2008
Replies: 11
Views: 1,338
Posted By silviuks
If you know a little bit PHP and MySQL there is no problem to accomplish your task. in your database should store only the file name (let say column name is image_name). you must define a constant...
Forum: PHP Mar 4th, 2008
Replies: 2
Views: 6,653
Posted By silviuks
// execute SQL Server store procedure
function MsExecuteProcedure($procedure)
{
$proc = mssql_init($this->_db."..".$procedure);
$rez = mssql_execute($proc) or die(mssql_get_last_message());...
Showing results 1 to 40 of 66

 


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

©2003 - 2009 DaniWeb® LLC