Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~10.8K People Reached
Favorite Tags
Member Avatar for levsha

I know it's a dumb question, but I can't figure it out. What's wrong with this code? - [CODE]$progress_report = curdate();[/CODE] It doesn't work. Thank you!

Member Avatar for anushathecoder
0
668
Member Avatar for levsha

I am totally new to the SEO world. I got a client though, for whom I am doing SEO. He has a laundry/dry clean/moving/shoe repair kind of business and a website for it. I have no idea how much I should charge him. Also I am not sure whether it …

Member Avatar for Celier
0
284
Member Avatar for levsha

I wasn't sure, in which forum to ask this question, so here goes: Could you guys recommend a very good web hosting company? Thank you in advance!

Member Avatar for happygeek
0
154
Member Avatar for Charles1718

Hi, i'm new about PHP, and i try to insert the PHP Upload script in the php mail, but somehow i don't get it to work! :) [B]this actually goes to header:[/B] [CODE]<?php if(isset($_POST['submit'])) { $errors = array(); $allowed_filetypes = array('.pdf','.zip','.rar'); $max_filesize = 52428800; $upload_path = './uploads_SS/'; $filename = $_FILES['userfile']['name']; …

Member Avatar for abogadooo
0
1K
Member Avatar for levsha

Here is what I have: [CODE]<script type="text/javascript" src="http://www.polycysticliverdisease.com/html/swfobject.js"></script> <div id="flashcontentab3445" align="center"> You probably do not have the Flash Player (<a href="http://get.adobe.com/flashplayer/">Get Adobe Flash Player Here</a>) installed for your browser or the video files are misplaced on your server!</div> <script type="text/javascript" src="http://www.polycysticliverdisease.com/html/easyflvsvab3445.js"></script>[/CODE] Here is the .flv file: polycysticliverdisease.com/html/debbie.flv How do I …

0
50
Member Avatar for levsha

I'm trying to pass a value from a select input control on an HTML form. Here is the PHP of page1.php: session_start(); $_SESSION['invtype'] = $invtype; header("location: offerform_switch.php"); Here is the HTML: <select id="invtype" name="invtype"> <option value="0" selected="selected">Select type</option> <option value="product">PRODUCT</option> <option value="software">SOFTWARE</option> </select> This is offerform_switch.php: session_start(); echo $_SESSION['invtype']; switch …

Member Avatar for levsha
0
571
Member Avatar for levsha

I've never used any CMS as a developer. Now I think it's time for me to start getting familiar with them. There are three out there I laid my eye on - WordPress, Joomla!, Drupal. Which one should I begin with? Thank you!

Member Avatar for levsha
0
96
Member Avatar for levsha

I'm trying to obtain the font-weight somewhat between normal and bold. Or bold and even bolder. Nothing seems to work. When I try numeric values, 590 shows as normal text and 600 is full bold. Nothing in between. Please advise. Thank you!

Member Avatar for MindSter
0
68
Member Avatar for levsha

Here is my php: [CODE]<?php $confirm = $_POST['confirm']; if(($_POST['confirm'] == 'Y') {header("Location: http://mysite.com/sage/page1.php");} else {header("Location: http://mysite.com/sage/disagree.html");} ?>[/CODE] Here is the HTML: [CODE]<form id="form" action="terms_redirect.php" method="post"> <table id = "radio"> <tr> <td> <input type="radio" id="agree" name="confirm" value="Y" /> </td> <td> <label for="agree">I have read and agree to the Terms and Conditions</label> …

Member Avatar for levsha
0
206
Member Avatar for levsha

Let's say a user submitted some information through a form into a MySQL database. The data was timestamped. The user is given a certain number of days to submit an additional chunk of data into the database. If he doesn't submit it by the required date, an email has to …

Member Avatar for levsha
0
73
Member Avatar for levsha

I have four buttons in an HTML form. Here is the HTML: [CODE]<tr> <td> <div class="fileinputs"> <input type="submit" name="submit" class="submit" /> </div> <div class="fileinputs"> <input type="file" class="file" name="uploadedfile" /> <div class="fakefile"> <img src="uf_btt.png" /> </div> </div> <div class="fileinputs"> <input type="reset" class="reset" /> </div> <div class="fileinputs"> <input type="button" class="print" onclick="window.print()" /> …

Member Avatar for levsha
0
367
Member Avatar for levsha

Can't figure out this one. Text I enter into my textarea, doesn't break the lines. CSS: [CODE]#description{ float:right; font-size:12px; padding:4px 2px; border:solid 1px #afd45a; width:260px; height: 90px; margin:0px 20px 20px 6px; }[/CODE] HTML: [CODE]<input type="textarea" name="description" id="description" rows = "4" cols = "25"/>[/CODE]

Member Avatar for lyndria
0
80
Member Avatar for levsha

Here is a problem. I have an HTML form with several fields in it. One of the fields - 'Upload file'. When I upload a file, everything works properly. But when I choose to submit the form without a file, it gives me the error message: "There was an error …

Member Avatar for levsha
0
163
Member Avatar for levsha

I use SwiftMailer in my PHP script to send emails upon HTML form submission. On the test server it all works fine. On the production server (different host) it gives me this error message: [QUOTE]Parse error: syntax error, unexpected T_CLASS in /home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php on line 18[/QUOTE] What could it be? Thank …

Member Avatar for levsha
0
63
Member Avatar for levsha

I use SwiftMailer in my PHP script to send emails upon HTML form submission. On the test server it all works fine. On the production server (different host) it gives me this error message: [QUOTE]Parse error: syntax error, unexpected T_CLASS in /home/alkal5/public_html/html/swift-mailer/lib/classes/Swift.php on line 18[/QUOTE] The two machines use different …

Member Avatar for levsha
0
103
Member Avatar for levsha

Here is my HTML:[CODE] <tr> <td> <div class="fileinputs"> <input type="submit" name="submit" class="submit" /> </div> <div class="fileinputs"> <input type="file" class="file" name="uploadedfile" /> <div class="fakefile"> <img src="uf_btt.png" /> </div> </div> <div class="fileinputs"> <input type="reset" class="reset" /> </div> <div class="fileinputs"> <input type="button" class="print" onclick="window.print()" /> </div> </td> </tr>[/CODE] And here is my CSS: …

Member Avatar for prixat
0
4K
Member Avatar for levsha

I am able to attach a file using SwiftMailer with its name hardcoded. But what if the file is uploaded by a user from an HTML form's 'file' input type control and has to be sent with an email by a PHP script? How do I specify the file name …

Member Avatar for levsha
0
143
Member Avatar for levsha

I am an absolute newbie to SEO. Is it possible to get your website ranked well in Google with a very low budget? Would the pay-per-click be necessary, for instance? Thank you in advance.

Member Avatar for Lecee Lery
0
277
Member Avatar for levsha

As far as I know, the 'image' input type can only be used for a 'submit' button. How do I make 'reset', 'print' and 'upload file' buttons on my form contain an certain image in them instead of being generic gray HTML buttons? I gathered that I would need JavaScript …

Member Avatar for papanyquiL
0
139
Member Avatar for levsha

Let's say I have a form with 'file' type input control on it among other input controls. My PHP emails the submitted form data somewhere. As far as I know, in order to attach an uploaded from the form file to the email, I have to save it first in …

Member Avatar for levsha
0
88
Member Avatar for levsha

I'm absolutely new to JavaScript, so I don't know quite well what I'm doing. Does this look right (inside of HTML)? - [CODE]<script type="text/javascript" src="/path/to/si.files.js"> window.onload=SI.Files.stylizeAll(); </script>[/CODE] And what is si.files.js? Is it a file I have to create and place into some directory? What is supposed to be in …

Member Avatar for levsha
0
156
Member Avatar for levsha

Could somebody please direct me? Why the code is not working? Let's say I have two scripts: mypage.php and mypage2.php. mypage.php: [CODE]<?php // this starts the session session_start(); // this sets variables in the session $_SESSION['color']='red'; $_SESSION['size']='small'; $_SESSION['shape']='round'; print "Done"; ?>[/CODE] Works as expected, outputs "Done". mypage2.php: [CODE]<?php // this …

Member Avatar for Grantism
0
160
Member Avatar for levsha

I have a form on page1.php. The form action is "page1.php". After some sanitation and validation takes place and there are no errors, when a user clicks the submit button, I need the page be redirected and a variable passed to the destination page. The redirection is done with this …

Member Avatar for levsha
0
88
Member Avatar for levsha

I have a textbox on my form. I type in some text, then I submit the form, and it seems that my script doesn't see the text in the input element and treats it like empty: [CODE] <?php $invname = $_POST['invname']; if($invname == '') {print "You have not entered the …

Member Avatar for levsha
0
129
Member Avatar for levsha

[CODE]if($firstname == '') {print "You have not entered your first name, please go back and try again.";}[/CODE] How do I make the text look like the entire site? Or even better - is it possible to get a popup window on this instead of opening a full sized page? Thank …

Member Avatar for diafol
0
159
Member Avatar for levsha

Here is my problem: I have a checkbox and text input elements inside the same ID. I need checkbox to be 20px wide and textbox - 200px wide. I have this: [CODE]#check input { float:left; border:solid 1px #afd45a; width:20px; margin:2px 10px 10px 6px; }[/CODE] What's my solution should be for …

Member Avatar for levsha
0
95
Member Avatar for levsha

Hi guys! Can't figure out why this is not working: [CODE]<div id = "calendar"> <script language="javascript"> document.write(TODAY); </script> </div>[/CODE] Here is the CSS: [CODE]#calendar { width: 956px; height: 15px; float: right; color: #ffffff; background-color: #036779; padding-top: 5px; padding-bottom: 5px; padding-left: 2px; padding-right: 2px; text-align: right; }[/CODE] The text doesn't show. …

Member Avatar for levsha
0
85
Member Avatar for levsha

I've read some articles and forums on the topic, but still hasn't gotten a clear answer for myself... What I need is my incoming emails to be stored in my MySQL database. I understand that the email has somehow be submitted to a PHP script that will handle it further, …

Member Avatar for Simply T
0
480
Member Avatar for levsha

Let's say I have an HTML form and there is a group of radio buttons. A need different script to be run depending on which button is checked. Let's say I have this: [CODE]<input type="radio" name="invtype" value="product"> <b>PRODUCT<b> <p> <input type="radio" name="invtype" value="software"> <b>SOFTWARE<b> <p> <input type="radio" name="invtype" value="service"> <b>SERVICE<b> …

Member Avatar for diafol
0
140
Member Avatar for levsha

I have two HTML pages, each has a form. The user is supposed to fill out the input fields in one, then click a submit button that will send him to the next page, where he would fill out the rest of the fields of his questionaire, click a submit …

Member Avatar for levsha
0
122