Find Jobs
Hire Freelancers

PHP Question

$5-10 USD

Đã hoàn thành
Đã đăng vào gần 21 năm trước

$5-10 USD

Thanh toán khi bàn giao
I'm new to PHP and in the process of converting my ASP code. In the ASP code I have a lot of lines such as <%=[login to view URL]("my_variable")%> my_variable may or may not have been posted. If it hasn't, then in ASP it just returns an empty string which is what I want. However, in PHP when I do something like: if ($HTTP_POST_VARS['my_variable']!='') I get: Notice: Undefined index: my_variable if the value hasn't been posted. So all I need is a small function that I can pass the name of the variable (e.g. my_variable in this case) and it will return the value if it exists, or an empty string if it does not. Since the finished script will be distributed to others, I don't want to have to make changes to any of the PHP ini files, and it should work on all reasonably versions of PHP. Ideally I'm looking for a PHP expert who I can post additional private bids for if I encounter more questions. ## Deliverables 1) Complete and fully-functional working script. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform PHP
Mã dự án: 2942851

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 21 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
See private message.
$7 USD trong 14 ngày
5,0 (74 nhận xét)
5,6
5,6

Về khách hàng

Cờ của UNITED STATES
Tampa, United States
5,0
165
Thành viên từ thg 5 9, 2002

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.