Vex Star

Vex Star

Computers and Programming

Vex Star RSS Feed
 
 
 
 

Posts tagged php

HTML META pass values

So I have this bit of code written as a php in html:
echo "<meta HTTP-EQUIV=REFRESH content="0; baud_rate_set.php?check_board=$_REQUEST[check_board]">";
How do i pass it another value that i define (baud_rate=9)?been doing this stuff for about a week, so if there’s any ideas i’d love emecho "<meta HTTP-EQUIV=REFRESH content="0; baud_rate_set.php?check_board=$_REQUEST[check_board]&baud_rate=9">";

Need Perl program to parse amazon book page

Can anyone of you leet hax0rs hack up a Perl program that can parse an Amazon book page and notify me when a used book is less than a certain amount? I could run it through the Windows scheduler to check every 5 minutes and it would help a lot.I get paid to do [...]

PHP VS Ruby on Rails. Which one is best for a beginner?

Obviously I will also be needing to implement MySQL in there as well. Well? Which would you suggest for a beginner?I’ve never seen, nor really know anything about ruby, so my vote is PHP

How long would it take someone to learn PHP? How long before I could edit stuff, etc…?

Magento

Not feeling like doing anything custom, so I’m setting up Magento for my wife’s new web store. Its PHP, which pains me… but its also Zend. Which is why I picked it over Zen-Cart or X-Cart.
Am installing PHP5 and all the other pre-reqs now. Anyone used Magento?Wow. You have [...]

SSH / PHP help

Okay here’s what I’m doing – I’m trying to get this php page to connect to a Unix box and (an ESX box)
and execute some commands.
It connects fine, and even executes SOME commands just fine.
Heres the code:

<?php

$doit = "vim-cmd vmsvc/getallvms" ;
$connection = ssh2_connect(‘192.168.10.9′, 22);
ssh2_auth_password($connection, ‘root’, ‘mysecret’);

$cmd = shell_exec($doit)

if ($cmd){echo(‘pass <br><br>’);}
else{echo(‘fail<br><br>’);}
echo ($cmd);

?>

Now that if [...]

PHP classes and include()

I have a php class, with a function called "getContent". In the function "getContent()" i need to use a bunch of other functions to process and output the content. These other functions are all written in a separate file called "funcs.php" which is referenced by other php programs that use them. How [...]

Looking for a fast way to compare two large databases

i have two mysql databases that are supposed to be relatively synched. One is the student database for my school (about 28,000 records), and the other is a Moodle database (about 33,000) which should contain a user account for each student.
The two databases share a few fields, the primary key being the student’s idnumber. [...]

Programming for Beginners

I am looking to get into programming/Dev work.
I have been doing HW/network/tech support for a long time and I am burned out on it. I was talking to one of our developers at work and he suggested reading up on and starting with C# and ASP.net.
Any suggestions/thoughts/book recommendations for a newby? I have absolutely 0 [...]

Website ‘Media Player’

Do any of you know if it is possible to make it so if any .wmv / .avi file is clicked on my website, it is automatically loaded either in that window, or in a popup.. instead of prompting user to download?
People upload files to my website, and want to be able to play the [...]

website contact form not working

my form doesn’t work. can anyone help me?
here’s the code in the html file:
<form method="POST" action="contact2.php">
Fields marked (*) are required
<p>Email From:* <br>
<input type="text" name="EmailFrom">
<p>FirstName:<br>
<input type="text" name="FirstName">
<p>LastName:<br>